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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001233/0.001237, 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.001259/0.001259, allocations: 193.6 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.207/1.207, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.105/2.105, allocations: 390.3 MB / 0.6647 GB, free: 312 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 63.89 kB / 0.8126 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5809/0.5822, allocations: 140.4 MB / 0.9497 GB, free: 9.23 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.00269/0.5849, allocations: 1.767 MB / 0.9514 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001657/0.5866, allocations: 1.605 MB / 0.953 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.083e-05/0.5867, allocations: 2.188 kB / 0.953 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001467/0.5868, allocations: 30.23 kB / 0.953 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.006e-05/0.5869, allocations: 18.39 kB / 0.9531 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004925/0.5874, allocations: 234.2 kB / 0.9533 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000217/0.5876, allocations: 249.8 kB / 0.9535 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.5878, allocations: 58.86 kB / 0.9536 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001066/0.5879, allocations: 92.94 kB / 0.9537 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.588, allocations: 82.06 kB / 0.9537 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.917e-05/0.588, allocations: 12.47 kB / 0.9538 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002999/0.5883, allocations: 193.7 kB / 0.9539 GB, free: 6 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.131e-05/0.5884, allocations: 77.2 kB / 0.954 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.532e-05/0.5885, allocations: 90.62 kB / 0.9541 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003404/0.5889, allocations: 374.6 kB / 0.9545 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.5889, allocations: 1.281 kB / 0.9545 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.173e-06/0.5889, allocations: 0 / 0.9545 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.317e-06/0.5889, allocations: 0 / 0.9545 GB, free: 5.656 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.0007405/0.5896, allocations: 0.567 MB / 0.955 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.5897, allocations: 9.531 kB / 0.955 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.102e-05/0.5897, allocations: 52.39 kB / 0.9551 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.113e-05/0.5898, allocations: 29.42 kB / 0.9551 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001694/0.59, allocations: 249 kB / 0.9553 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.59, allocations: 18.14 kB / 0.9553 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.874e-05/0.59, allocations: 30.11 kB / 0.9554 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002788/0.5903, allocations: 203.9 kB / 0.9556 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.5903, allocations: 0 / 0.9556 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.904e-05/0.5904, allocations: 9.828 kB / 0.9556 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.5904, allocations: 8.141 kB / 0.9556 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002052/0.5906, allocations: 119.9 kB / 0.9557 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001028/0.5916, allocations: 0.5832 MB / 0.9563 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007227/0.5923, allocations: 281.2 kB / 0.9565 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001354/0.5925, allocations: 98.73 kB / 0.9566 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.5925, allocations: 2.281 kB / 0.9566 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002363/0.5928, allocations: 167 kB / 0.9568 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=26): time 1.593e-06/0.5928, allocations: 5.094 kB / 0.9568 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of matching and sorting (n=26): time 0.0006045/0.5934, allocations: 380.9 kB / 0.9572 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/0.5934, allocations: 69.33 kB / 0.9572 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.5936, allocations: 182.4 kB / 0.9574 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.206e-05/0.5936, allocations: 47.19 kB / 0.9575 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.994e-05/0.5937, allocations: 129.1 kB / 0.9576 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.891e-05/0.5937, allocations: 72.02 kB / 0.9576 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.542e-05/0.5938, allocations: 84.12 kB / 0.9577 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.968e-05/0.5939, allocations: 337.3 kB / 0.958 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001708/0.594, allocations: 114.2 kB / 0.9582 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002127/0.5942, allocations: 253.5 kB / 0.9584 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000361/0.5946, allocations: 365.4 kB / 0.9587 GB, free: 2.254 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.5946, allocations: 5.031 kB / 0.9587 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005352/0.5952, allocations: 412 kB / 0.9591 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.5952, allocations: 6.094 kB / 0.9591 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.567e-06/0.5952, allocations: 5.031 kB / 0.9592 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.5952, allocations: 10.38 kB / 0.9592 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001727/0.5954, allocations: 57.38 kB / 0.9592 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.5954, allocations: 10.62 kB / 0.9592 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001657/0.5956, allocations: 50.95 kB / 0.9593 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.247e-05/0.5956, allocations: 21.92 kB / 0.9593 GB, free: 1.977 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.0001285/0.5958, allocations: 184.6 kB / 0.9595 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.134e-05/0.5958, allocations: 20.94 kB / 0.9595 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.726e-05/0.5958, allocations: 21.61 kB / 0.9595 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.5958, allocations: 2.656 kB / 0.9595 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.5958, allocations: 0 / 0.9595 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.5959, allocations: 1.5 kB / 0.9595 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007404/0.5966, allocations: 0.6805 MB / 0.9602 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.5966, allocations: 0 / 0.9602 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.564e-05/0.5967, allocations: 20.73 kB / 0.9602 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.5967, allocations: 5.562 kB / 0.9602 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.255e-05/0.5968, allocations: 8.828 kB / 0.9602 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.5968, allocations: 1.062 kB / 0.9602 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.5968, allocations: 0 / 0.9602 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000573/0.5973, allocations: 0.5106 MB / 0.9607 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.833e-05/0.5974, allocations: 98.36 kB / 0.9608 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.17e-05/0.5974, allocations: 15.42 kB / 0.9608 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.5976, allocations: 21.8 kB / 0.9608 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.112e-05/0.5976, allocations: 25.06 kB / 0.9609 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-05/0.5977, allocations: 17.05 kB / 0.9609 GB, free: 0.8281 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.664e-05/0.5978, allocations: 130.1 kB / 0.961 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5978, allocations: 0 / 0.961 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000397/0.5982, allocations: 111.1 kB / 0.9611 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.001357/0.5995, allocations: 1.254 MB / 0.9623 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005028/0.6, allocations: 315.2 kB / 0.9626 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.6, allocations: 1.5 kB / 0.9626 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001764/0.6002, allocations: 113.4 kB / 0.9627 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/0.6005, allocations: 26.14 kB / 0.9628 GB, free: 15.61 MB / 0.7325 GB Warning: Could not resolve URI ("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.003004/0.6036, allocations: 2.914 MB / 0.9656 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002677/0.6038, allocations: 0.7475 MB / 0.9663 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001219/0.604, allocations: 52.38 kB / 0.9664 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.212e-05/0.604, allocations: 59.88 kB / 0.9665 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of SimCode: time 3.71e-07/0.6041, allocations: 0 / 0.9665 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.417/1.021, allocations: 5.633 MB / 0.972 GB, free: 9.602 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.702/7.723, allocations: 15.44 kB / 0.972 GB, free: 9.594 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)