Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo", uses=false) Using package FastBuildings with version 0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(FastBuildings.Input.SIM_2Zones_Artificial,fileNamePrefix="FastBuildings_FastBuildings_Input_SIM_2Zones_Artificial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(FastBuildings.Input.SIM_2Zones_Artificial,fileNamePrefix="FastBuildings_FastBuildings_Input_SIM_2Zones_Artificial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00564/0.00564, allocations: 104.1 kB / 15.74 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 197.8 kB / 16.68 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/FastBuildings master/package.mo): time 0.02179/0.02179, allocations: 4.666 MB / 295.2 MB, free: 10.23 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 63.91 kB / 407.7 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08163/0.083, allocations: 50.5 MB / 458.2 MB, free: 9.082 MB / 334.1 MB Notification: Performance of NFInst.instantiate(FastBuildings.Input.SIM_2Zones_Artificial): time 0.002933/0.08596, allocations: 1.699 MB / 459.9 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008641/0.08685, allocations: 486.7 kB / 460.4 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.505e-05/0.087, allocations: 0 / 460.4 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001145/0.08713, allocations: 15.86 kB / 460.4 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.815e-05/0.08723, allocations: 19.75 kB / 460.4 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002214/0.08745, allocations: 47.92 kB / 460.5 MB, free: 6.816 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002078/0.08768, allocations: 123.5 kB / 460.6 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001503/0.08783, allocations: 53.08 kB / 460.7 MB, free: 6.645 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001465/0.08799, allocations: 55.77 kB / 460.7 MB, free: 6.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001049/0.0881, allocations: 51.77 kB / 460.8 MB, free: 6.539 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.933e-05/0.08814, allocations: 8 kB / 460.8 MB, free: 6.531 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.191e-05/0.08817, allocations: 12 kB / 460.8 MB, free: 6.52 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.409e-05/0.08822, allocations: 31.84 kB / 460.8 MB, free: 6.488 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.383e-05/0.0883, allocations: 47.73 kB / 460.9 MB, free: 6.441 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001577/0.08847, allocations: 114.3 kB / 461 MB, free: 6.332 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.08848, allocations: 0 / 461 MB, free: 6.332 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.08848, allocations: 0 / 461 MB, free: 6.332 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.08849, allocations: 0 / 461 MB, free: 6.332 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008463/0.08935, allocations: 465.5 kB / 461.4 MB, free: 5.824 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.08939, allocations: 12.03 kB / 461.4 MB, free: 5.812 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.814e-05/0.08948, allocations: 62.53 kB / 461.5 MB, free: 5.742 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.735e-05/0.08953, allocations: 16.75 kB / 461.5 MB, free: 5.727 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000215/0.08975, allocations: 200.6 kB / 461.7 MB, free: 5.492 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.08977, allocations: 8.375 kB / 461.7 MB, free: 5.484 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.501e-05/0.0898, allocations: 15.94 kB / 461.7 MB, free: 5.469 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004176/0.09023, allocations: 189.8 kB / 461.9 MB, free: 5.262 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.09025, allocations: 3.984 kB / 461.9 MB, free: 5.258 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.09027, allocations: 7.938 kB / 461.9 MB, free: 5.25 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.09028, allocations: 4 kB / 461.9 MB, free: 5.246 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004313/0.09072, allocations: 131.8 kB / 462.1 MB, free: 5.117 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000921/0.09165, allocations: 0.7549 MB / 462.8 MB, free: 4.297 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004953/0.09216, allocations: 266.1 kB / 463.1 MB, free: 3.973 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002476/0.09242, allocations: 100.2 kB / 463.2 MB, free: 3.859 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.36e-05/0.09245, allocations: 3.984 kB / 463.2 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003419/0.0928, allocations: 159.5 kB / 463.3 MB, free: 3.672 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.543e-06/0.09281, allocations: 0 / 463.3 MB, free: 3.672 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008094/0.09363, allocations: 249.4 kB / 463.6 MB, free: 3.422 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.797e-05/0.09372, allocations: 158.2 kB / 463.7 MB, free: 3.23 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.09387, allocations: 173 kB / 463.9 MB, free: 3.043 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.161e-05/0.09391, allocations: 29.7 kB / 463.9 MB, free: 3.008 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.922e-05/0.09399, allocations: 112 kB / 464 MB, free: 2.895 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.284e-05/0.09403, allocations: 39.64 kB / 464.1 MB, free: 2.855 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.296e-05/0.0941, allocations: 33.7 kB / 464.1 MB, free: 2.816 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.09423, allocations: 326.8 kB / 464.4 MB, free: 2.488 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000211/0.09445, allocations: 59.88 kB / 464.5 MB, free: 2.43 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002245/0.09468, allocations: 100.2 kB / 464.6 MB, free: 2.316 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004139/0.0951, allocations: 190.1 kB / 464.8 MB, free: 2.109 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.09512, allocations: 7.938 kB / 464.8 MB, free: 2.102 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005478/0.09567, allocations: 231 kB / 465 MB, free: 1.863 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.475e-05/0.09571, allocations: 29.7 kB / 465 MB, free: 1.828 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.09573, allocations: 4 kB / 465 MB, free: 1.824 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.09575, allocations: 0 / 465 MB, free: 1.824 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001786/0.09593, allocations: 32.06 kB / 465.1 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.09595, allocations: 4 kB / 465.1 MB, free: 1.789 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001655/0.09612, allocations: 23.88 kB / 465.1 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.066e-05/0.09615, allocations: 8 kB / 465.1 MB, free: 1.758 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 (powElePul.count,$PRE.powElePul.count,powElePul.T_start,$PRE.powElePul.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001288/0.09629, allocations: 137.6 kB / 465.2 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.108e-05/0.09632, allocations: 15.81 kB / 465.3 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002158/0.09655, allocations: 94.52 kB / 465.4 MB, free: 1.492 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.09656, allocations: 7.938 kB / 465.4 MB, free: 1.484 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.09657, allocations: 0 / 465.4 MB, free: 1.484 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.09658, allocations: 4 kB / 465.4 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004141/0.097, allocations: 433.7 kB / 465.8 MB, free: 1 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.09702, allocations: 0 / 465.8 MB, free: 1 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001425/0.09717, allocations: 35.97 kB / 465.8 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.09718, allocations: 4 kB / 465.8 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.0972, allocations: 4 kB / 465.8 MB, free: 0.957 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.09721, allocations: 4 kB / 465.8 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.09722, allocations: 3.984 kB / 465.8 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000541/0.09776, allocations: 365.1 kB / 466.2 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.43e-05/0.09783, allocations: 92.91 kB / 466.3 MB, free: 468 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.376e-05/0.09787, allocations: 8 kB / 466.3 MB, free: 460 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002009/0.09807, allocations: 11.98 kB / 466.3 MB, free: 448 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.151e-05/0.09816, allocations: 27.91 kB / 466.3 MB, free: 420 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.09818, allocations: 4 kB / 466.3 MB, free: 416 kB / 334.1 MB Notification: Performance of sorting global known variables: time 9.173e-05/0.09828, allocations: 131.9 kB / 466.5 MB, free: 284 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.09828, allocations: 3.938 kB / 466.5 MB, free: 280 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002974/0.09859, allocations: 23.94 kB / 466.5 MB, free: 256 kB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,powElePul.T_start,powElePul.count) * Number of discrete states: 1 (powElePul.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001089/0.09968, allocations: 0.9802 MB / 467.5 MB, free: 15.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000549/0.1002, allocations: 219.2 kB / 467.7 MB, free: 15 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1003, allocations: 0 / 467.7 MB, free: 15 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002648/0.1005, allocations: 88.19 kB / 467.8 MB, free: 14.92 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003817/0.1009, allocations: 27.86 kB / 467.8 MB, free: 14.89 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002904/0.1038, allocations: 2.163 MB / 470 MB, free: 12.6 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002921/0.1041, allocations: 0.7236 MB / 470.7 MB, free: 11.85 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.178e-05/0.1042, allocations: 16.55 kB / 470.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.26e-05/0.1043, allocations: 43.41 kB / 470.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1043, allocations: 0 / 470.8 MB, free: 11.79 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01991/0.1242, allocations: 3.106 MB / 473.9 MB, free: 8.758 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.491/7.615, allocations: 10.97 kB / 473.9 MB, free: 8.75 MB / 350.1 MB (rm -f FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe ; mkfifo FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe ; head -c 1048576 < FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe >> ../files/FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_FastBuildings_FastBuildings_Input_SIM_2Zones_Artificial_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 FastBuildings_FastBuildings_Input_SIM_2Zones_Artificial.fmu > FastBuildings_FastBuildings.Input.SIM_2Zones_Artificial.pipe 2>&1)