Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Python_3_8_Examples_SimpleRoom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_Python_3_8_Examples_SimpleRoom",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.00157/0.00157, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002059/0.002059, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.236/1.236, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.541/2.541, allocations: 461.9 MB / 0.7346 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 64.7 kB / 0.8992 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/0.2557, allocations: 157.4 MB / 1.053 GB, free: 8.344 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.002829/0.2586, allocations: 1.824 MB / 1.055 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001919/0.2605, allocations: 1.608 MB / 1.056 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.184e-05/0.2606, allocations: 7.938 kB / 1.056 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001485/0.2607, allocations: 23.78 kB / 1.056 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.527e-05/0.2608, allocations: 19.8 kB / 1.056 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000556/0.2614, allocations: 247.2 kB / 1.057 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002581/0.2617, allocations: 247.5 kB / 1.057 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.2618, allocations: 53.83 kB / 1.057 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001241/0.2619, allocations: 91.67 kB / 1.057 GB, free: 4.211 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.2621, allocations: 83.67 kB / 1.057 GB, free: 4.129 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.837e-05/0.2621, allocations: 16 kB / 1.057 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003292/0.2625, allocations: 207.6 kB / 1.057 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.443e-05/0.2626, allocations: 75.8 kB / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.04e-05/0.2627, allocations: 95.47 kB / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003855/0.263, allocations: 383 kB / 1.058 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2631, allocations: 0 / 1.058 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2631, allocations: 0 / 1.058 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.2631, allocations: 0 / 1.058 GB, free: 3.367 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0007372/0.2638, allocations: 0.5533 MB / 1.058 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.2639, allocations: 8.625 kB / 1.058 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.006e-05/0.2639, allocations: 50.73 kB / 1.058 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.846e-05/0.264, allocations: 24.66 kB / 1.058 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002869/0.2643, allocations: 253.5 kB / 1.059 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/0.2643, allocations: 24.12 kB / 1.059 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.433e-05/0.2644, allocations: 31.89 kB / 1.059 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003399/0.2647, allocations: 209.3 kB / 1.059 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.2647, allocations: 0 / 1.059 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.362e-05/0.2647, allocations: 8 kB / 1.059 GB, free: 2.113 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.2648, allocations: 7.938 kB / 1.059 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002334/0.265, allocations: 123.8 kB / 1.059 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001124/0.2661, allocations: 0.5743 MB / 1.06 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000325/0.2665, allocations: 214.5 kB / 1.06 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000159/0.2666, allocations: 96.81 kB / 1.06 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.2667, allocations: 4 kB / 1.06 GB, free: 1.039 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002727/0.2669, allocations: 172.4 kB / 1.06 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=27): time 1.764e-06/0.2669, allocations: 0 / 1.06 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of matching and sorting (n=27): time 0.000654/0.2676, allocations: 391.9 kB / 1.06 GB, free: 484 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.2677, allocations: 75.39 kB / 1.06 GB, free: 396 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.2678, allocations: 183.9 kB / 1.061 GB, free: 204 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.121e-05/0.2679, allocations: 49.69 kB / 1.061 GB, free: 148 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.174e-05/0.2679, allocations: 125 kB / 1.061 GB, free: 20 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.33e-05/0.268, allocations: 79.16 kB / 1.061 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.823e-05/0.2681, allocations: 82.12 kB / 1.061 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.2682, allocations: 338.8 kB / 1.061 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000198/0.2684, allocations: 116.8 kB / 1.061 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002671/0.2687, allocations: 257.4 kB / 1.062 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004395/0.2692, allocations: 371.9 kB / 1.062 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.2692, allocations: 0 / 1.062 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006001/0.2698, allocations: 421 kB / 1.062 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.2698, allocations: 11.94 kB / 1.062 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.2698, allocations: 4 kB / 1.062 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.2698, allocations: 8 kB / 1.062 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001964/0.27, allocations: 63.84 kB / 1.062 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.2701, allocations: 8 kB / 1.062 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000136/0.2702, allocations: 31.69 kB / 1.062 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.521e-05/0.2702, allocations: 19.98 kB / 1.063 GB, free: 14.11 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 34 (pyt.firstTrigger,$PRE.pyt.firstTrigger,pyt.yR[2],$PRE.pyt.yR[2],pyt.uRIntPre[1],$PRE.pyt.uRIntPre[1],pyt.uRIntPre[2],$PRE.pyt.uRIntPre[2],pyt.uRIntPre[3],$PRE.pyt.uRIntPre[3],pyt.uRIntPre[4],$PRE.pyt.uRIntPre[4],pyt.uRWri_temp[1],$PRE.pyt.uRWri_temp[1],pyt.uRWri[1],$PRE.pyt.uRWri[1],pyt.uRWri_temp[4],$PRE.pyt.uRWri_temp[4],pyt.uRWri[4],$PRE.pyt.uRWri[4],pyt.sampleTrigger,$whenCondition1,pyt.uRWri_temp[2],$PRE.pyt.uRWri_temp[2],pyt.uRWri[2],$PRE.pyt.uRWri[2],onOffCon.y,$PRE.onOffCon.y,pyt.uRWri_temp[3],$PRE.pyt.uRWri_temp[3],pyt.uRWri[3],$PRE.pyt.uRWri[3],pyt.yR[1],$PRE.pyt.yR[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * 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.000153/0.2704, allocations: 192.4 kB / 1.063 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.478e-05/0.2704, allocations: 15.81 kB / 1.063 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.169e-05/0.2705, allocations: 22.55 kB / 1.063 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.2705, allocations: 4 kB / 1.063 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.2705, allocations: 192 / 1.063 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.2705, allocations: 4 kB / 1.063 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008898/0.2714, allocations: 0.6866 MB / 1.063 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.2714, allocations: 4 kB / 1.063 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.2715, allocations: 15.98 kB / 1.063 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.2715, allocations: 0 / 1.063 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.429e-05/0.2716, allocations: 15.98 kB / 1.063 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.2716, allocations: 0 / 1.063 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.2716, allocations: 0 / 1.063 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006759/0.2723, allocations: 0.5272 MB / 1.064 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.674e-05/0.2723, allocations: 92.86 kB / 1.064 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.667e-05/0.2724, allocations: 19.97 kB / 1.064 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/0.2725, allocations: 11.98 kB / 1.064 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.791e-05/0.2726, allocations: 19.97 kB / 1.064 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.818e-05/0.2726, allocations: 19.92 kB / 1.064 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.975e-05/0.2727, allocations: 135.2 kB / 1.064 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2727, allocations: 0 / 1.064 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004105/0.2731, allocations: 103.9 kB / 1.064 GB, free: 12.13 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (pyt.uRInt[1],pyt.uRInt[2],pyt.uRInt[3],pyt.uRInt[4]) * Number of discrete variables: 18 (pyt.sampleTrigger,$whenCondition1,pyt.firstTrigger,pyt.yR[1],pyt.yR[2],pyt.uRIntPre[1],pyt.uRIntPre[2],pyt.uRIntPre[3],pyt.uRIntPre[4],pyt.uRWri[1],pyt.uRWri[2],pyt.uRWri[3],pyt.uRWri[4],pyt.uRWri_temp[1],pyt.uRWri_temp[2],pyt.uRWri_temp[3],pyt.uRWri_temp[4],onOffCon.y) * Number of discrete states: 5 (pyt.uR[1],pyt.uR[2],pyt.uR[3],pyt.uR[4],onOffCon.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.001403/0.2745, allocations: 1.282 MB / 1.066 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005219/0.2751, allocations: 327.5 kB / 1.066 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2751, allocations: 0 / 1.066 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001763/0.2753, allocations: 109.2 kB / 1.066 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002899/0.2756, allocations: 23.92 kB / 1.066 GB, free: 10.44 MB / 0.8262 GB Warning: Could not resolve URI ("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/legal.html") at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003027/0.2786, allocations: 2.936 MB / 1.069 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002592/0.2789, allocations: 0.748 MB / 1.07 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001338/0.279, allocations: 58.19 kB / 1.07 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.557e-05/0.2791, allocations: 63.41 kB / 1.07 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of SimCode: time 2.8e-07/0.2791, allocations: 0 / 1.07 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9512/1.23, allocations: 5.758 MB / 1.075 GB, free: 0.7266 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.511/8.741, allocations: 9.266 kB / 1.075 GB, free: 0.7227 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_IO_Python_3_8_Examples_SimpleRoom_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_IO_Python_3_8_Examples_SimpleRoom.fmu > Buildings_latest_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe 2>&1)