Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008298/0.0008298, allocations: 72.5 kB / 19.92 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008225/0.0008225, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8792/0.8792, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5986/0.5986, allocations: 114 MB / 373.9 MB, free: 8.707 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_SignalExchange_Examples_FirstOrder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_IO_SignalExchange_Examples_FirstOrder",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 0.5542 GB, free: 1.73 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.374e-05/2.555e-05, allocations: 2.281 kB / 0.5542 GB, free: 1.727 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.003031/0.003056, allocations: 2.476 MB / 0.5566 GB, free: 15.23 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001223/0.004279, allocations: 0.9077 MB / 0.5575 GB, free: 14.32 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001635/0.004442, allocations: 15.88 kB / 0.5575 GB, free: 14.3 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001844/0.004627, allocations: 67.39 kB / 0.5575 GB, free: 14.24 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001085/0.004735, allocations: 63.34 kB / 0.5576 GB, free: 14.18 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003946/0.00513, allocations: 249.1 kB / 0.5578 GB, free: 13.94 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000352/0.005482, allocations: 459.5 kB / 0.5583 GB, free: 13.49 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002287/0.00571, allocations: 141.8 kB / 0.5584 GB, free: 13.35 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000203/0.005914, allocations: 227.5 kB / 0.5586 GB, free: 13.12 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000133/0.006046, allocations: 111.6 kB / 0.5587 GB, free: 13.02 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 5.034e-05/0.006097, allocations: 48 kB / 0.5588 GB, free: 12.97 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.144e-05/0.006138, allocations: 52 kB / 0.5588 GB, free: 12.92 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 6.242e-05/0.006201, allocations: 83.7 kB / 0.5589 GB, free: 12.84 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 8.944e-05/0.00629, allocations: 115.7 kB / 0.559 GB, free: 12.72 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005666/0.006857, allocations: 0.6348 MB / 0.5596 GB, free: 12.09 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.006859, allocations: 0 / 0.5596 GB, free: 12.09 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.126e-06/0.006862, allocations: 3.984 kB / 0.5596 GB, free: 12.08 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.00687, allocations: 0 / 0.5596 GB, free: 12.08 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.000854/0.007724, allocations: 0.5758 MB / 0.5602 GB, free: 11.48 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.968e-05/0.007784, allocations: 8.031 kB / 0.5602 GB, free: 11.47 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.382e-05/0.007848, allocations: 66.72 kB / 0.5603 GB, free: 11.39 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.205e-05/0.0079, allocations: 44.66 kB / 0.5603 GB, free: 11.35 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004516/0.008351, allocations: 333.6 kB / 0.5606 GB, free: 11 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.398e-05/0.008375, allocations: 21.03 kB / 0.5607 GB, free: 10.98 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.947e-05/0.008415, allocations: 28.36 kB / 0.5607 GB, free: 10.95 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004207/0.008835, allocations: 391.6 kB / 0.5611 GB, free: 10.54 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.008846, allocations: 4.172 kB / 0.5611 GB, free: 10.53 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.297e-05/0.008869, allocations: 12.12 kB / 0.5611 GB, free: 10.52 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.008878, allocations: 8 kB / 0.5611 GB, free: 10.51 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002919/0.00917, allocations: 242.5 kB / 0.5613 GB, free: 10.28 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001052/0.01022, allocations: 1.016 MB / 0.5623 GB, free: 9.211 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000546/0.01077, allocations: 230.7 kB / 0.5625 GB, free: 8.977 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/0.01088, allocations: 92.83 kB / 0.5626 GB, free: 8.883 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.962e-05/0.01091, allocations: 4 kB / 0.5626 GB, free: 8.879 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.01094, allocations: 34.56 kB / 0.5627 GB, free: 8.836 MB / 490.7 MB Notification: Performance of pre-optimization done (n=16): time 1.854e-06/0.01094, allocations: 0 / 0.5627 GB, free: 8.836 MB / 490.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004705/0.01141, allocations: 308.6 kB / 0.5629 GB, free: 8.531 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.384e-05/0.01148, allocations: 102.8 kB / 0.563 GB, free: 8.406 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002545/0.01173, allocations: 336.5 kB / 0.5634 GB, free: 8.062 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.01175, allocations: 29.7 kB / 0.5634 GB, free: 8.027 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.01186, allocations: 196.4 kB / 0.5636 GB, free: 7.832 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.318e-05/0.0119, allocations: 51.55 kB / 0.5636 GB, free: 7.781 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.646e-05/0.01195, allocations: 45.7 kB / 0.5637 GB, free: 7.73 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.01206, allocations: 342.7 kB / 0.564 GB, free: 7.387 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.01218, allocations: 84.83 kB / 0.5641 GB, free: 7.301 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001555/0.01233, allocations: 177.4 kB / 0.5643 GB, free: 7.102 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002258/0.01256, allocations: 195.7 kB / 0.5644 GB, free: 6.902 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.01256, allocations: 0 / 0.5644 GB, free: 6.902 MB / 490.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002821/0.01284, allocations: 263.4 kB / 0.5647 GB, free: 6.641 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.01286, allocations: 4 kB / 0.5647 GB, free: 6.637 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.01286, allocations: 64 / 0.5647 GB, free: 6.637 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.01288, allocations: 8 kB / 0.5647 GB, free: 6.629 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.01298, allocations: 31.92 kB / 0.5647 GB, free: 6.598 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.01299, allocations: 0 / 0.5647 GB, free: 6.598 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.162e-05/0.01306, allocations: 27.88 kB / 0.5648 GB, free: 6.57 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.01307, allocations: 8 kB / 0.5648 GB, free: 6.562 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001553/0.01323, allocations: 200 kB / 0.565 GB, free: 6.363 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001191/0.01335, allocations: 159.6 kB / 0.5651 GB, free: 6.18 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001685/0.01351, allocations: 172.7 kB / 0.5653 GB, free: 6.004 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.2e-07/0.01352, allocations: 0 / 0.5653 GB, free: 6.004 MB / 490.7 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0002279/0.01374, allocations: 237.3 kB / 0.5655 GB, free: 5.766 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.889e-06/0.01375, allocations: 4 kB / 0.5655 GB, free: 5.762 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.956e-06/0.01375, allocations: 4 kB / 0.5655 GB, free: 5.758 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.705e-06/0.01375, allocations: 0 / 0.5655 GB, free: 5.758 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.411e-05/0.01382, allocations: 24 kB / 0.5655 GB, free: 5.734 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.848e-06/0.01382, allocations: 3.984 kB / 0.5655 GB, free: 5.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.071e-05/0.01388, allocations: 23.95 kB / 0.5656 GB, free: 5.707 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.01389, allocations: 4 kB / 0.5656 GB, free: 5.703 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (expMod.oveWriAct_activate,expMod.oveWriSet_activate,expMod.mod.conPI.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 8.744e-05/0.01398, allocations: 192.1 kB / 0.5657 GB, free: 5.508 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003469/0.01432, allocations: 27.81 kB / 0.5658 GB, free: 5.48 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.273e-05/0.01438, allocations: 39.22 kB / 0.5658 GB, free: 5.445 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.01438, allocations: 0 / 0.5658 GB, free: 5.445 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.01438, allocations: 7.875 kB / 0.5658 GB, free: 5.438 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.01439, allocations: 3.984 kB / 0.5658 GB, free: 5.434 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002651/0.01465, allocations: 328.5 kB / 0.5661 GB, free: 5.07 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.01465, allocations: 0 / 0.5661 GB, free: 5.07 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.796e-05/0.01475, allocations: 39.92 kB / 0.5662 GB, free: 5.031 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.113e-06/0.01475, allocations: 0 / 0.5662 GB, free: 5.031 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.01477, allocations: 3.984 kB / 0.5662 GB, free: 5.027 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.01477, allocations: 0 / 0.5662 GB, free: 5.027 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.01477, allocations: 4 kB / 0.5662 GB, free: 5.023 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004528/0.01522, allocations: 431.2 kB / 0.5666 GB, free: 4.586 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.056e-05/0.0153, allocations: 59.75 kB / 0.5666 GB, free: 4.527 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.305e-05/0.01532, allocations: 8.062 kB / 0.5667 GB, free: 4.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.137e-05/0.0154, allocations: 11.98 kB / 0.5667 GB, free: 4.508 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.609e-05/0.01544, allocations: 11.98 kB / 0.5667 GB, free: 4.496 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.01545, allocations: 4 kB / 0.5667 GB, free: 4.492 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001518/0.0156, allocations: 235.1 kB / 0.5669 GB, free: 4.266 MB / 490.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0156, allocations: 0 / 0.5669 GB, free: 4.266 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002444/0.01584, allocations: 87.73 kB / 0.567 GB, free: 4.18 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (expMod.mod.conPI.I.y,expMod.mod.firOrd.y) * Number of discrete variables: 2 (expMod.oveWriSet_activate,expMod.oveWriAct_activate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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 Backend phase and start with SimCode phase: time 0.0006201/0.01646, allocations: 0.9758 MB / 0.5679 GB, free: 3.176 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003925/0.01686, allocations: 275.2 kB / 0.5682 GB, free: 2.91 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.01686, allocations: 0 / 0.5682 GB, free: 2.91 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.01697, allocations: 91.91 kB / 0.5683 GB, free: 2.82 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003553/0.01732, allocations: 94.34 kB / 0.5684 GB, free: 2.734 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002634/0.01995, allocations: 2.94 MB / 0.5713 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001077/0.02006, allocations: 168.8 kB / 0.5714 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001089/0.02017, allocations: 30.27 kB / 0.5714 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/0.02029, allocations: 100.5 kB / 0.5715 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of SimCode: time 4.91e-07/0.02029, allocations: 0 / 0.5715 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01987/0.04016, allocations: 7.593 MB / 0.579 GB, free: 8.008 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.994/7.034, allocations: 3.562 kB / 0.579 GB, free: 8.008 MB / 0.4948 GB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_IO_SignalExchange_Examples_FirstOrder_fmu --startTime=0 --stopTime=150 --stepSize=0.06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_IO_SignalExchange_Examples_FirstOrder.fmu > IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.538659595884383] Failed to read output from testmodel.py, exit status != 0: 7.114057122729719 7.123406082 7.114291036 Calling exit ...