Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.007374/0.007373, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001973/0.001973, allocations: 192.6 kB / 16.67 MB, free: 5.969 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.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.394/2.394, allocations: 437.1 MB / 0.7105 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00181/0.00181, allocations: 72.11 kB / 1.018 GB, free: 9.906 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6403/0.6422, allocations: 151.6 MB / 1.166 GB, free: 3.746 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.003041/0.6452, allocations: 1.775 MB / 1.168 GB, free: 1.957 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00227/0.6475, allocations: 1.608 MB / 1.169 GB, free: 348 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.186e-05/0.6476, allocations: 3.938 kB / 1.169 GB, free: 344 kB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001652/0.6478, allocations: 31.78 kB / 1.17 GB, free: 312 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.423e-05/0.6479, allocations: 15.81 kB / 1.17 GB, free: 296 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005808/0.6485, allocations: 231.3 kB / 1.17 GB, free: 64 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003115/0.6488, allocations: 251.4 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.649, allocations: 57.89 kB / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00013/0.6491, allocations: 83.75 kB / 1.17 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001283/0.6492, allocations: 83.66 kB / 1.17 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.209e-05/0.6493, allocations: 12 kB / 1.17 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003624/0.6496, allocations: 207.7 kB / 1.17 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001141/0.6498, allocations: 83.78 kB / 1.17 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 9.121e-05/0.6499, allocations: 87.55 kB / 1.171 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0004755/0.6504, allocations: 394.2 kB / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.6504, allocations: 4 kB / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.482e-06/0.6504, allocations: 0 / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.417e-06/0.6504, allocations: 0 / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0009407/0.6513, allocations: 0.5725 MB / 1.172 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.6514, allocations: 8.922 kB / 1.172 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.172e-05/0.6514, allocations: 50.73 kB / 1.172 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.429e-05/0.6515, allocations: 24.8 kB / 1.172 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002489/0.6518, allocations: 250.2 kB / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.54e-05/0.6518, allocations: 20.45 kB / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.829e-05/0.6518, allocations: 28 kB / 1.172 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003486/0.6522, allocations: 200.2 kB / 1.172 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.6522, allocations: 0 / 1.172 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.036e-05/0.6522, allocations: 7.984 kB / 1.172 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.6523, allocations: 4 kB / 1.172 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002388/0.6525, allocations: 120.5 kB / 1.172 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001219/0.6537, allocations: 0.586 MB / 1.173 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008183/0.6546, allocations: 282.3 kB / 1.173 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001625/0.6547, allocations: 96.81 kB / 1.173 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.6548, allocations: 3.984 kB / 1.173 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003044/0.6551, allocations: 167.4 kB / 1.173 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=26): time 1.613e-06/0.6551, allocations: 4 kB / 1.173 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of matching and sorting (n=26): time 0.0006833/0.6558, allocations: 396.1 kB / 1.174 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.577e-05/0.6558, allocations: 67.39 kB / 1.174 GB, free: 11.78 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.656, allocations: 175.1 kB / 1.174 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.731e-05/0.6561, allocations: 53.69 kB / 1.174 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.324e-05/0.6561, allocations: 120.7 kB / 1.174 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 7.11e-05/0.6562, allocations: 79.41 kB / 1.174 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.888e-05/0.6563, allocations: 82.12 kB / 1.174 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.6565, allocations: 338.8 kB / 1.175 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001906/0.6567, allocations: 112.8 kB / 1.175 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003065/0.657, allocations: 260.5 kB / 1.175 GB, free: 10.49 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004606/0.6575, allocations: 356 kB / 1.175 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.6575, allocations: 3.938 kB / 1.175 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006204/0.6581, allocations: 417 kB / 1.176 GB, free: 9.668 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.6581, allocations: 8 kB / 1.176 GB, free: 9.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.6581, allocations: 4 kB / 1.176 GB, free: 9.656 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.6581, allocations: 4 kB / 1.176 GB, free: 9.652 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001999/0.6584, allocations: 67.84 kB / 1.176 GB, free: 9.586 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.696e-05/0.6584, allocations: 8.406 kB / 1.176 GB, free: 9.578 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000174/0.6586, allocations: 43.77 kB / 1.176 GB, free: 9.535 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.85e-05/0.6586, allocations: 20 kB / 1.176 GB, free: 9.516 MB / 0.9044 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,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],pyt.uRWri_temp[2],$PRE.pyt.uRWri_temp[2],pyt.uRWri[2],$PRE.pyt.uRWri[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0001764/0.6588, allocations: 188.2 kB / 1.176 GB, free: 9.324 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.88e-05/0.6588, allocations: 23.86 kB / 1.176 GB, free: 9.301 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.19e-05/0.6589, allocations: 17.88 kB / 1.176 GB, free: 9.277 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.6589, allocations: 7.984 kB / 1.176 GB, free: 9.27 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.6589, allocations: 96 / 1.176 GB, free: 9.27 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.6589, allocations: 3.938 kB / 1.176 GB, free: 9.266 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000947/0.6599, allocations: 0.6728 MB / 1.177 GB, free: 8.539 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.6599, allocations: 0 / 1.177 GB, free: 8.539 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/0.66, allocations: 19.92 kB / 1.177 GB, free: 8.52 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.66, allocations: 8 kB / 1.177 GB, free: 8.512 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.669e-05/0.66, allocations: 11.98 kB / 1.177 GB, free: 8.5 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.66, allocations: 0 / 1.177 GB, free: 8.5 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.66, allocations: 0 / 1.177 GB, free: 8.5 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007055/0.6607, allocations: 0.5005 MB / 1.177 GB, free: 7.984 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.364e-05/0.6608, allocations: 105 kB / 1.177 GB, free: 7.863 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.289e-05/0.6609, allocations: 15.98 kB / 1.177 GB, free: 7.848 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001573/0.661, allocations: 16.17 kB / 1.177 GB, free: 7.832 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.903e-05/0.6611, allocations: 23.91 kB / 1.177 GB, free: 7.809 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-05/0.6611, allocations: 23.98 kB / 1.177 GB, free: 7.785 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001057/0.6612, allocations: 132.8 kB / 1.178 GB, free: 7.656 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6612, allocations: 0 / 1.178 GB, free: 7.656 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004222/0.6617, allocations: 115.6 kB / 1.178 GB, free: 7.543 MB / 0.9044 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 (25): * Single equations (assignments): 11 * 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.001669/0.6633, allocations: 1.276 MB / 1.179 GB, free: 6.312 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004737/0.6638, allocations: 275.5 kB / 1.179 GB, free: 6.047 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.6638, allocations: 0 / 1.179 GB, free: 6.047 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001887/0.664, allocations: 115.9 kB / 1.179 GB, free: 5.934 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/0.6643, allocations: 19.98 kB / 1.179 GB, free: 5.914 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003471/0.6678, allocations: 2.917 MB / 1.182 GB, free: 2.809 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003789/0.6682, allocations: 0.7441 MB / 1.183 GB, free: 2.039 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001207/0.6683, allocations: 50.25 kB / 1.183 GB, free: 1.992 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.685e-05/0.6684, allocations: 63.41 kB / 1.183 GB, free: 1.93 MB / 0.9044 GB Notification: Performance of SimCode: time 2.103e-06/0.6684, allocations: 0 / 1.183 GB, free: 1.93 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.949/2.617, allocations: 5.758 MB / 1.189 GB, free: 12.21 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/13.79, allocations: 2.312 kB / 1.189 GB, free: 12.21 MB / 0.92 GB (rm -f Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; mkfifo Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe >> ../files/Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_IO_Python_3_8_Examples_SimpleRoom_fmu --startTime=0 --stopTime=86400 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_IO_Python_3_8_Examples_SimpleRoom.fmu > Buildings_10_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe 2>&1)