Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.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.0008499/0.0008499, 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.0009391/0.0009391, 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.8916/0.8916, allocations: 177.1 MB / 203.5 MB, free: 5.73 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.5374/0.5374, allocations: 114 MB / 373.9 MB, free: 8.703 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.Time.Examples.ModelTime,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Time.Examples.ModelTime,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 3.938 kB / 0.5541 GB, free: 1.734 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.079e-05/2.253e-05, allocations: 2.281 kB / 0.5541 GB, free: 1.73 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.ModelTime): time 0.001649/0.001671, allocations: 0.593 MB / 0.5547 GB, free: 1.141 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 3.97e-05/0.001711, allocations: 4 kB / 0.5547 GB, free: 1.137 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.771e-05/0.001729, allocations: 0 / 0.5547 GB, free: 1.137 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 2.791e-05/0.001757, allocations: 0 / 0.5547 GB, free: 1.137 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 6.543e-06/0.001763, allocations: 0 / 0.5547 GB, free: 1.137 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.04e-05/0.001794, allocations: 3.938 kB / 0.5547 GB, free: 1.133 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 5.522e-05/0.001849, allocations: 4 kB / 0.5547 GB, free: 1.129 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.712e-05/0.001896, allocations: 0 / 0.5547 GB, free: 1.129 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.886e-05/0.001925, allocations: 0 / 0.5547 GB, free: 1.129 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.111e-05/0.001946, allocations: 3.938 kB / 0.5547 GB, free: 1.125 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.001964, allocations: 0 / 0.5547 GB, free: 1.125 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.156e-06/0.001968, allocations: 0 / 0.5547 GB, free: 1.125 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 1.242e-05/0.00198, allocations: 4 kB / 0.5547 GB, free: 1.121 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 1.882e-05/0.001999, allocations: 4 kB / 0.5547 GB, free: 1.117 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 5.452e-05/0.002053, allocations: 4 kB / 0.5547 GB, free: 1.113 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.002055, allocations: 0 / 0.5547 GB, free: 1.113 MB / 474.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.002056, allocations: 0 / 0.5547 GB, free: 1.113 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.296e-06/0.00206, allocations: 0 / 0.5547 GB, free: 1.113 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002354/0.002295, allocations: 234.5 kB / 0.555 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.002339, allocations: 8.625 kB / 0.555 GB, free: 0.8438 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.086e-05/0.00237, allocations: 30.75 kB / 0.555 GB, free: 0.8047 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.048e-05/0.00239, allocations: 0.9375 kB / 0.555 GB, free: 0.8047 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.199e-05/0.002452, allocations: 105.8 kB / 0.5551 GB, free: 0.6758 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.002463, allocations: 4.375 kB / 0.5551 GB, free: 0.6719 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.512e-06/0.00247, allocations: 384 / 0.5551 GB, free: 0.6719 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.00258, allocations: 38.25 kB / 0.5552 GB, free: 0.6289 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.002588, allocations: 192 / 0.5552 GB, free: 0.6289 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-06/0.002595, allocations: 384 / 0.5552 GB, free: 0.6289 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.002601, allocations: 8.062 kB / 0.5552 GB, free: 0.6211 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.717e-05/0.002618, allocations: 0 / 0.5552 GB, free: 0.6211 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001149/0.002733, allocations: 120.8 kB / 0.5553 GB, free: 472 kB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.922e-05/0.002772, allocations: 18.52 kB / 0.5553 GB, free: 444 kB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.332e-05/0.002796, allocations: 16.95 kB / 0.5553 GB, free: 424 kB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.719e-06/0.002805, allocations: 0 / 0.5553 GB, free: 424 kB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.002825, allocations: 30.56 kB / 0.5553 GB, free: 384 kB / 474.7 MB Notification: Performance of pre-optimization done (n=1): time 8.11e-07/0.002826, allocations: 0 / 0.5553 GB, free: 384 kB / 474.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001174/0.002943, allocations: 37.62 kB / 0.5554 GB, free: 340 kB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.002977, allocations: 59.34 kB / 0.5554 GB, free: 268 kB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.719e-05/0.003004, allocations: 89.86 kB / 0.5555 GB, free: 168 kB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/0.003015, allocations: 25.7 kB / 0.5555 GB, free: 136 kB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.196e-05/0.003037, allocations: 80.14 kB / 0.5556 GB, free: 52 kB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.356e-05/0.00306, allocations: 3.938 kB / 0.5556 GB, free: 48 kB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.903e-05/0.003089, allocations: 21.84 kB / 0.5556 GB, free: 20 kB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.003249, allocations: 310.8 kB / 0.5559 GB, free: 15.71 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.488e-06/0.003259, allocations: 0 / 0.5559 GB, free: 15.71 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.859e-06/0.003263, allocations: 0 / 0.5559 GB, free: 15.71 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.64e-05/0.00329, allocations: 12.8 kB / 0.556 GB, free: 15.69 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.003292, allocations: 0 / 0.556 GB, free: 15.69 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.938e-05/0.003341, allocations: 37.69 kB / 0.556 GB, free: 15.65 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.003355, allocations: 9.094 kB / 0.556 GB, free: 15.64 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.00336, allocations: 0 / 0.556 GB, free: 15.64 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.003372, allocations: 96 / 0.556 GB, free: 15.64 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.124e-05/0.003423, allocations: 4 kB / 0.556 GB, free: 15.64 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.003429, allocations: 3.938 kB / 0.556 GB, free: 15.63 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.618e-06/0.003439, allocations: 4 kB / 0.556 GB, free: 15.63 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.481e-06/0.003444, allocations: 4 kB / 0.556 GB, free: 15.62 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 5.692e-05/0.003501, allocations: 105.8 kB / 0.5561 GB, free: 15.51 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.839e-06/0.003506, allocations: 0 / 0.5561 GB, free: 15.51 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.252e-05/0.003519, allocations: 3 kB / 0.5561 GB, free: 15.51 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.003522, allocations: 7.984 kB / 0.5561 GB, free: 15.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.003529, allocations: 3.938 kB / 0.5561 GB, free: 15.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.003532, allocations: 0 / 0.5561 GB, free: 15.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.203e-05/0.003594, allocations: 116.8 kB / 0.5562 GB, free: 15.34 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.003595, allocations: 0 / 0.5562 GB, free: 15.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.095e-05/0.003606, allocations: 4 kB / 0.5562 GB, free: 15.34 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-06/0.003607, allocations: 0 / 0.5562 GB, free: 15.34 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.889e-06/0.003612, allocations: 0 / 0.5562 GB, free: 15.34 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.003613, allocations: 3.938 kB / 0.5562 GB, free: 15.34 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.003616, allocations: 3.938 kB / 0.5562 GB, free: 15.33 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.454e-05/0.003671, allocations: 61.12 kB / 0.5563 GB, free: 15.25 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.28e-06/0.003676, allocations: 3.953 kB / 0.5563 GB, free: 15.25 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.256e-06/0.003684, allocations: 0 / 0.5563 GB, free: 15.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.76e-06/0.00369, allocations: 4.031 kB / 0.5563 GB, free: 15.25 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.281e-05/0.003703, allocations: 15.86 kB / 0.5563 GB, free: 15.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-06/0.003705, allocations: 0 / 0.5563 GB, free: 15.23 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.232e-05/0.003727, allocations: 75.28 kB / 0.5564 GB, free: 15.16 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.003727, allocations: 0 / 0.5564 GB, free: 15.16 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001893/0.003916, allocations: 3.938 kB / 0.5564 GB, free: 15.15 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0002535/0.00417, allocations: 0.589 MB / 0.557 GB, free: 14.54 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 5.858e-05/0.004228, allocations: 4 kB / 0.557 GB, free: 14.53 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.00423, allocations: 96 / 0.557 GB, free: 14.53 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.159e-06/0.004235, allocations: 8 kB / 0.557 GB, free: 14.52 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001379/0.004373, allocations: 7.938 kB / 0.557 GB, free: 14.52 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002745/0.004648, allocations: 106.5 kB / 0.5571 GB, free: 14.37 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.465e-05/0.004682, allocations: 59.3 kB / 0.5572 GB, free: 14.29 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.172e-05/0.004694, allocations: 4 kB / 0.5572 GB, free: 14.29 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.945e-05/0.004713, allocations: 8.5 kB / 0.5572 GB, free: 14.28 MB / 490.7 MB Notification: Performance of SimCode: time 3.2e-07/0.004714, allocations: 0 / 0.5572 GB, free: 14.28 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01569/0.0204, allocations: 1.532 MB / 0.5587 GB, free: 12.89 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.087/7.107, allocations: 4.078 kB / 0.5587 GB, free: 12.89 MB / 490.7 MB " [Timeout remaining time 653] (rm -f IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Time_Examples_ModelTime.fmu > IBPSA_latest_IBPSA.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.485947590321302] Failed to read output from testmodel.py, exit status != 0: 7.1892215348780155 7.204699201 7.199867798 Calling exit ...