Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001253/0.001253, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001328/0.001328, allocations: 195.5 kB / 16.14 MB, free: 6.719 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.332/1.332, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.355/2.355, allocations: 390.2 MB / 0.6643 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 63.88 kB / 0.812 GB, free: 14.81 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5702/0.5716, allocations: 140.4 MB / 0.949 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.003052/0.5747, allocations: 1.825 MB / 0.9508 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001928/0.5767, allocations: 1.592 MB / 0.9524 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 9e-05/0.5768, allocations: 1.438 kB / 0.9524 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001597/0.5769, allocations: 22.59 kB / 0.9524 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001153/0.5771, allocations: 10.34 kB / 0.9524 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006476/0.5777, allocations: 202.1 kB / 0.9526 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003069/0.578, allocations: 221.1 kB / 0.9528 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001552/0.5782, allocations: 77.59 kB / 0.9529 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001785/0.5784, allocations: 75.61 kB / 0.953 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001512/0.5785, allocations: 82.03 kB / 0.953 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.747e-05/0.5786, allocations: 7.656 kB / 0.953 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003759/0.579, allocations: 188.4 kB / 0.9532 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.854e-05/0.5791, allocations: 77.03 kB / 0.9533 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.968e-05/0.5792, allocations: 81.59 kB / 0.9534 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004315/0.5796, allocations: 368.3 kB / 0.9537 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.5796, allocations: 0 / 0.9537 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.01e-07/0.5796, allocations: 1.156 kB / 0.9537 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.5797, allocations: 0 / 0.9537 GB, free: 5.66 MB / 0.7169 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.0008946/0.5806, allocations: 0.5774 MB / 0.9543 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.5806, allocations: 10.19 kB / 0.9543 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.99e-05/0.5807, allocations: 52.88 kB / 0.9544 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.505e-05/0.5807, allocations: 26.16 kB / 0.9544 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002034/0.5809, allocations: 240.7 kB / 0.9546 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.571e-05/0.581, allocations: 20.95 kB / 0.9546 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.64e-05/0.581, allocations: 25.36 kB / 0.9547 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003472/0.5814, allocations: 209.2 kB / 0.9549 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.5814, allocations: 4 kB / 0.9549 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.087e-05/0.5814, allocations: 6.406 kB / 0.9549 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.5814, allocations: 3.562 kB / 0.9549 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000231/0.5817, allocations: 116.2 kB / 0.955 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00113/0.5828, allocations: 0.5831 MB / 0.9555 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007156/0.5835, allocations: 281.4 kB / 0.9558 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001416/0.5837, allocations: 98.17 kB / 0.9559 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.435e-05/0.5837, allocations: 3.594 kB / 0.9559 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002905/0.584, allocations: 170.5 kB / 0.9561 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=26): time 1.894e-06/0.584, allocations: 0 / 0.9561 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of matching and sorting (n=26): time 0.0006467/0.5847, allocations: 382.2 kB / 0.9564 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.5847, allocations: 69.64 kB / 0.9565 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.5848, allocations: 181.5 kB / 0.9567 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.704e-05/0.5849, allocations: 47.19 kB / 0.9567 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.137e-05/0.5849, allocations: 133.5 kB / 0.9569 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.239e-05/0.585, allocations: 75.81 kB / 0.9569 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.833e-05/0.5851, allocations: 79.44 kB / 0.957 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.931e-05/0.5852, allocations: 338.4 kB / 0.9573 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001816/0.5853, allocations: 113 kB / 0.9574 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002316/0.5856, allocations: 250.7 kB / 0.9577 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003758/0.586, allocations: 364.6 kB / 0.958 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.586, allocations: 9.312 kB / 0.958 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005745/0.5866, allocations: 412.2 kB / 0.9584 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.5866, allocations: 6.312 kB / 0.9584 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.5866, allocations: 4.75 kB / 0.9584 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.5866, allocations: 10.72 kB / 0.9584 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001903/0.5868, allocations: 56.97 kB / 0.9585 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/0.5868, allocations: 17.75 kB / 0.9585 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001823/0.587, allocations: 43.3 kB / 0.9586 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.682e-05/0.5871, allocations: 17.62 kB / 0.9586 GB, free: 1.984 MB / 0.7169 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.0001372/0.5872, allocations: 188.8 kB / 0.9587 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.569e-05/0.5872, allocations: 21.08 kB / 0.9588 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.709e-05/0.5873, allocations: 21.2 kB / 0.9588 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.5873, allocations: 3.094 kB / 0.9588 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.5873, allocations: 0 / 0.9588 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.5873, allocations: 0.9375 kB / 0.9588 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008491/0.5882, allocations: 0.6845 MB / 0.9595 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.5882, allocations: 1.094 kB / 0.9595 GB, free: 1.289 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.5883, allocations: 17.11 kB / 0.9595 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.5883, allocations: 1.188 kB / 0.9595 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.371e-05/0.5883, allocations: 7.859 kB / 0.9595 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.5883, allocations: 1.125 kB / 0.9595 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.5883, allocations: 0 / 0.9595 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006397/0.589, allocations: 0.5146 MB / 0.96 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.98e-05/0.589, allocations: 94.02 kB / 0.9601 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.623e-05/0.5891, allocations: 19.69 kB / 0.9601 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001631/0.5892, allocations: 14.27 kB / 0.9601 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.067e-05/0.5893, allocations: 25.31 kB / 0.9601 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.844e-05/0.5893, allocations: 20.3 kB / 0.9602 GB, free: 0.832 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.424e-05/0.5894, allocations: 138 kB / 0.9603 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.31e-07/0.5894, allocations: 4 kB / 0.9603 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004518/0.5899, allocations: 104.3 kB / 0.9604 GB, free: 0.6875 MB / 0.7169 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.001382/0.5913, allocations: 1.263 MB / 0.9616 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004504/0.5917, allocations: 277 kB / 0.9619 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.5917, allocations: 1.219 kB / 0.9619 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001889/0.5919, allocations: 102 kB / 0.962 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003061/0.5923, allocations: 31.97 kB / 0.962 GB, free: 15.61 MB / 0.7325 GB Warning: Could not resolve URI ("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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.003315/0.5956, allocations: 2.951 MB / 0.9649 GB, free: 13.28 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003033/0.5959, allocations: 0.7508 MB / 0.9656 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001356/0.596, allocations: 48.91 kB / 0.9657 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.247e-05/0.5961, allocations: 71.03 kB / 0.9657 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.5961, allocations: 0.9062 kB / 0.9657 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4259/1.022, allocations: 5.418 MB / 0.971 GB, free: 9.758 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002291/1.022, allocations: 272.7 kB / 0.9713 GB, free: 9.383 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.805/2.828, allocations: 0 / 0.9713 GB, free: 9.383 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; mkfifo Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe >> ../files/Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_IO_Python_3_8_Examples_SimpleRoom_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_IO_Python_3_8_Examples_SimpleRoom.fmu > Buildings_9_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe 2>&1)