Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 114.7 kB / 17.6 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 189.9 kB / 20.78 MB, free: 1.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 225.6 MB / 249.4 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.895/2.895, allocations: 476.7 MB / 0.7629 GB, free: 15.1 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings_Utilities_IO_Python_3_8_Examples_SimpleRoom",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002064/0.002064, allocations: 63.91 kB / 1.107 GB, free: 5.074 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9365/0.9385, allocations: 168.7 MB / 1.271 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.003407/0.9419, allocations: 1.842 MB / 1.273 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002286/0.9442, allocations: 1.681 MB / 1.275 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.771e-05/0.9443, allocations: 6 kB / 1.275 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000171/0.9445, allocations: 26.28 kB / 1.275 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.000112/0.9446, allocations: 18.88 kB / 1.275 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006996/0.9453, allocations: 241.7 kB / 1.275 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003223/0.9456, allocations: 249.1 kB / 1.275 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/0.9458, allocations: 49.02 kB / 1.275 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001629/0.9459, allocations: 92.97 kB / 1.276 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001461/0.9461, allocations: 91.45 kB / 1.276 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.33e-05/0.9461, allocations: 13.56 kB / 1.276 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004019/0.9465, allocations: 211.3 kB / 1.276 GB, free: 4.82 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.9466, allocations: 87.33 kB / 1.276 GB, free: 4.781 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 9.689e-05/0.9467, allocations: 97.36 kB / 1.276 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005013/0.9472, allocations: 389 kB / 1.276 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.9472, allocations: 0 / 1.276 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.462e-06/0.9472, allocations: 1.031 kB / 1.276 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.9472, allocations: 0 / 1.276 GB, free: 4.578 MB / 0.9981 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.0007557/0.948, allocations: 0.5567 MB / 1.277 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.948, allocations: 14.25 kB / 1.277 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.939e-05/0.9481, allocations: 54.91 kB / 1.277 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.482e-05/0.9481, allocations: 35.95 kB / 1.277 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002721/0.9484, allocations: 252.3 kB / 1.277 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.961e-05/0.9484, allocations: 22.42 kB / 1.277 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.615e-05/0.9485, allocations: 23.27 kB / 1.277 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003858/0.9489, allocations: 205.2 kB / 1.278 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.9489, allocations: 1.438 kB / 1.278 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.23e-05/0.9489, allocations: 6.672 kB / 1.278 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.9489, allocations: 7.781 kB / 1.278 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002714/0.9492, allocations: 118.4 kB / 1.278 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001201/0.9504, allocations: 0.5916 MB / 1.278 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003479/0.9507, allocations: 193.4 kB / 1.278 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001676/0.9509, allocations: 92.86 kB / 1.279 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.9509, allocations: 2.938 kB / 1.279 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003396/0.9513, allocations: 170.1 kB / 1.279 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=27): time 1.914e-06/0.9513, allocations: 4 kB / 1.279 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of matching and sorting (n=27): time 0.0007753/0.952, allocations: 393.8 kB / 1.279 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.882e-05/0.9521, allocations: 68.7 kB / 1.279 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001745/0.9523, allocations: 184.2 kB / 1.279 GB, free: 2.734 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.499e-05/0.9523, allocations: 47.84 kB / 1.279 GB, free: 2.695 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.926e-05/0.9524, allocations: 127.9 kB / 1.279 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.081e-05/0.9524, allocations: 89.25 kB / 1.28 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001268/0.9526, allocations: 86.62 kB / 1.28 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.281e-05/0.9526, allocations: 335.1 kB / 1.28 GB, free: 2.145 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002417/0.9529, allocations: 118.4 kB / 1.28 GB, free: 2.109 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002944/0.9532, allocations: 250.8 kB / 1.28 GB, free: 1.902 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004589/0.9536, allocations: 376.4 kB / 1.281 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.9536, allocations: 1.594 kB / 1.281 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006103/0.9543, allocations: 428.4 kB / 1.281 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.9543, allocations: 6.062 kB / 1.281 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.9543, allocations: 6.844 kB / 1.281 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/0.9543, allocations: 5.406 kB / 1.281 GB, free: 1.457 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002129/0.9545, allocations: 57.64 kB / 1.281 GB, free: 1.453 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.566e-05/0.9545, allocations: 12.19 kB / 1.281 GB, free: 1.449 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001416/0.9547, allocations: 41.55 kB / 1.281 GB, free: 1.422 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.382e-05/0.9547, allocations: 17.78 kB / 1.281 GB, free: 1.418 MB / 0.9981 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.0001754/0.9549, allocations: 182.7 kB / 1.281 GB, free: 1.27 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.774e-05/0.9549, allocations: 21.66 kB / 1.281 GB, free: 1.258 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.648e-05/0.955, allocations: 23.09 kB / 1.281 GB, free: 1.238 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.955, allocations: 3.75 kB / 1.281 GB, free: 1.238 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/0.955, allocations: 192 / 1.281 GB, free: 1.238 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.955, allocations: 7.734 kB / 1.281 GB, free: 1.234 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009472/0.9559, allocations: 0.6876 MB / 1.282 GB, free: 0.8164 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.9559, allocations: 0.6562 kB / 1.282 GB, free: 0.8164 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001125/0.956, allocations: 17.44 kB / 1.282 GB, free: 0.8164 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.956, allocations: 3.469 kB / 1.282 GB, free: 0.8164 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.78e-05/0.9561, allocations: 10.12 kB / 1.282 GB, free: 0.8125 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.9561, allocations: 5.562 kB / 1.282 GB, free: 0.8086 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.9561, allocations: 0 / 1.282 GB, free: 0.8086 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000695/0.9568, allocations: 0.5158 MB / 1.283 GB, free: 0.5625 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.213e-05/0.9568, allocations: 95.72 kB / 1.283 GB, free: 468 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.978e-05/0.9569, allocations: 19.75 kB / 1.283 GB, free: 460 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.957, allocations: 8.797 kB / 1.283 GB, free: 460 kB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.146e-05/0.9571, allocations: 25.64 kB / 1.283 GB, free: 452 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.289e-05/0.9571, allocations: 20.64 kB / 1.283 GB, free: 444 kB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.518e-05/0.9572, allocations: 128 kB / 1.283 GB, free: 352 kB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.9572, allocations: 0 / 1.283 GB, free: 352 kB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005143/0.9577, allocations: 108.3 kB / 1.283 GB, free: 320 kB / 0.9981 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.001899/0.9596, allocations: 1.287 MB / 1.284 GB, free: 15.46 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005959/0.9602, allocations: 275.2 kB / 1.285 GB, free: 15.38 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.9602, allocations: 0 / 1.285 GB, free: 15.38 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000207/0.9604, allocations: 101.3 kB / 1.285 GB, free: 15.35 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.9607, allocations: 25.02 kB / 1.285 GB, free: 15.34 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004025/0.9648, allocations: 2.955 MB / 1.288 GB, free: 13.28 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004103/0.9652, allocations: 0.7484 MB / 1.288 GB, free: 12.58 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001574/0.9653, allocations: 60.3 kB / 1.288 GB, free: 12.57 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.9654, allocations: 64.69 kB / 1.288 GB, free: 12.53 MB / 1.014 GB Notification: Performance of SimCode: time 4e-07/0.9654, allocations: 0 / 1.288 GB, free: 12.53 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03402/0.9995, allocations: 5.898 MB / 1.294 GB, free: 11.58 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.302/9.301, allocations: 1.562 kB / 1.294 GB, free: 11.58 MB / 1.014 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom_res.csv --start-time 0 --stop-time 86400 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 25.7066 Buildings_11_Buildings_Utilities_IO_Python_3_8_Examples_SimpleRoom.fmu > Buildings_11_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.616369246010436] Failed to read output from testmodel.py, exit status != 0: 9.592895419016713 9.616864909 8.665296714 Calling exit ...