Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.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.001804/0.001804, allocations: 110 kB / 18.93 MB, free: 2.945 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.001852/0.001852, allocations: 188 kB / 22.22 MB, free: 5.164 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.367/1.367, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002467/0.002467, allocations: 292.3 kB / 306.6 MB, free: 8.332 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.184/1.184, allocations: 180.9 MB / 0.53 GB, free: 14.51 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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: translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") translateModel(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002723/0.002723, allocations: 104.4 kB / 0.7309 GB, free: 38.95 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1541, allocations: 94.19 MB / 0.8229 GB, free: 1.785 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.1998/0.3539, allocations: 174.9 MB / 0.9936 GB, free: 2.258 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01016/0.364, allocations: 9.655 MB / 1.003 GB, free: 8.57 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002858/0.3643, allocations: 15.88 kB / 1.003 GB, free: 8.555 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.0005903/0.3649, allocations: 198.6 kB / 1.003 GB, free: 8.359 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.0002373/0.3652, allocations: 99.3 kB / 1.003 GB, free: 8.262 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001843/0.3653, allocations: 63.86 kB / 1.003 GB, free: 8.199 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.0004014/0.3657, allocations: 322.7 kB / 1.004 GB, free: 7.883 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002894/0.366, allocations: 133.3 kB / 1.004 GB, free: 7.75 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003447/0.3664, allocations: 187.3 kB / 1.004 GB, free: 7.566 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001582/0.3665, allocations: 123.4 kB / 1.004 GB, free: 7.445 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 3.191e-05/0.3666, allocations: 24 kB / 1.004 GB, free: 7.422 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 3.671e-05/0.3666, allocations: 20 kB / 1.004 GB, free: 7.402 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 9.275e-05/0.3667, allocations: 75.75 kB / 1.004 GB, free: 7.328 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001345/0.3668, allocations: 127.4 kB / 1.004 GB, free: 7.203 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0003333/0.3672, allocations: 298.6 kB / 1.005 GB, free: 6.91 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.3672, allocations: 0 / 1.005 GB, free: 6.91 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.042e-06/0.3672, allocations: 0 / 1.005 GB, free: 6.91 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.3672, allocations: 0 / 1.005 GB, free: 6.91 MB / 0.7481 GB 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.0005333/0.3677, allocations: 457.6 kB / 1.005 GB, free: 6.434 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.3677, allocations: 11.97 kB / 1.005 GB, free: 6.422 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.684e-05/0.3678, allocations: 35.75 kB / 1.005 GB, free: 6.387 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004976/0.3683, allocations: 219.1 kB / 1.005 GB, free: 6.148 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.645e-05/0.3683, allocations: 20.66 kB / 1.005 GB, free: 6.129 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.604e-05/0.3684, allocations: 28 kB / 1.005 GB, free: 6.102 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000549/0.3689, allocations: 321.2 kB / 1.006 GB, free: 5.742 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.998e-05/0.369, allocations: 3.938 kB / 1.006 GB, free: 5.738 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.26e-05/0.369, allocations: 12 kB / 1.006 GB, free: 5.727 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.575e-05/0.369, allocations: 8 kB / 1.006 GB, free: 5.719 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002504/0.3693, allocations: 147.6 kB / 1.006 GB, free: 5.574 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001839/0.3711, allocations: 1.78 MB / 1.008 GB, free: 3.703 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.3712, allocations: 169.1 kB / 1.008 GB, free: 3.527 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.386e-05/0.3713, allocations: 84.08 kB / 1.008 GB, free: 3.441 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 5.417e-05/0.3713, allocations: 79.22 kB / 1.008 GB, free: 3.363 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.584e-05/0.3714, allocations: 109.8 kB / 1.008 GB, free: 3.246 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=0): time 1.292e-06/0.3714, allocations: 0 / 1.008 GB, free: 3.246 MB / 0.7481 GB Notification: Performance of matching and sorting (n=0): time 0.0001329/0.3715, allocations: 61.5 kB / 1.008 GB, free: 3.18 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.508e-05/0.3716, allocations: 126.7 kB / 1.008 GB, free: 3.043 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005297/0.3722, allocations: 373.7 kB / 1.009 GB, free: 2.672 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.3722, allocations: 25.7 kB / 1.009 GB, free: 2.641 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/0.3723, allocations: 163.9 kB / 1.009 GB, free: 2.477 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.971e-06/0.3723, allocations: 7.984 kB / 1.009 GB, free: 2.469 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.771e-05/0.3724, allocations: 17.72 kB / 1.009 GB, free: 2.445 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.3726, allocations: 338.8 kB / 1.009 GB, free: 2.105 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.878e-05/0.3726, allocations: 7.938 kB / 1.009 GB, free: 2.098 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.715e-05/0.3726, allocations: 36.28 kB / 1.009 GB, free: 2.047 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.195e-05/0.3727, allocations: 44.23 kB / 1.009 GB, free: 1.988 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3727, allocations: 0 / 1.009 GB, free: 1.988 MB / 0.7481 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001805/0.3729, allocations: 97.31 kB / 1.009 GB, free: 1.887 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.3729, allocations: 8.156 kB / 1.009 GB, free: 1.879 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.3729, allocations: 4 kB / 1.009 GB, free: 1.875 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/0.3729, allocations: 128 / 1.009 GB, free: 1.875 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.192e-05/0.373, allocations: 12 kB / 1.009 GB, free: 1.863 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.373, allocations: 4 kB / 1.009 GB, free: 1.859 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.591e-05/0.3731, allocations: 23.73 kB / 1.009 GB, free: 1.836 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.513e-06/0.3731, allocations: 4 kB / 1.009 GB, free: 1.832 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * 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.0001592/0.3732, allocations: 209.9 kB / 1.01 GB, free: 1.617 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.634e-05/0.3733, allocations: 148.6 kB / 1.01 GB, free: 1.465 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.262e-05/0.3734, allocations: 130.9 kB / 1.01 GB, free: 1.328 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.11e-05/0.3735, allocations: 184.1 kB / 1.01 GB, free: 1.141 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.752e-05/0.3736, allocations: 180.3 kB / 1.01 GB, free: 0.957 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-05/0.3737, allocations: 176.3 kB / 1.01 GB, free: 0.7773 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000346/0.374, allocations: 464.1 kB / 1.011 GB, free: 280 kB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.362e-05/0.3741, allocations: 116.9 kB / 1.011 GB, free: 156 kB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.081e-05/0.3741, allocations: 104.9 kB / 1.011 GB, free: 44 kB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3959/0.77, allocations: 179.9 kB / 1.011 GB, free: 193.3 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.153e-05/0.7701, allocations: 177.5 kB / 1.011 GB, free: 193.1 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.728e-05/0.7701, allocations: 179.4 kB / 1.011 GB, free: 192.9 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.486e-05/0.7701, allocations: 181.4 kB / 1.012 GB, free: 192.7 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001245/0.7702, allocations: 330.6 kB / 1.012 GB, free: 192.4 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.915e-05/0.7703, allocations: 141.5 kB / 1.012 GB, free: 192.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.273e-05/0.7704, allocations: 180.4 kB / 1.012 GB, free: 192.1 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.7705, allocations: 105.7 kB / 1.012 GB, free: 192 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.552e-05/0.7705, allocations: 181.8 kB / 1.013 GB, free: 191.8 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.7705, allocations: 104.2 kB / 1.013 GB, free: 191.7 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002822/0.7708, allocations: 273.7 kB / 1.013 GB, free: 191.7 MB / 0.7481 GB Notification: Performance of sort global known variables: time 9e-08/0.7708, allocations: 0 / 1.013 GB, free: 191.7 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003155/0.7711, allocations: 28.72 kB / 1.013 GB, free: 191.7 MB / 0.7481 GB 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 (0): * Single equations (assignments): 0 * 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 8.229e-05/0.7712, allocations: 170.1 kB / 1.013 GB, free: 191.5 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 7.616e-05/0.7713, allocations: 21.05 kB / 1.013 GB, free: 191.5 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.7713, allocations: 0 / 1.013 GB, free: 191.5 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 2.244e-06/0.7713, allocations: 0 / 1.013 GB, free: 191.5 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006403/0.7719, allocations: 0.5543 MB / 1.014 GB, free: 191 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004603/0.7724, allocations: 447.9 kB / 1.014 GB, free: 190.8 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001834/0.7726, allocations: 0.7521 MB / 1.015 GB, free: 190.1 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 8.867e-05/0.7727, allocations: 31.84 kB / 1.015 GB, free: 190.1 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.828e-05/0.7727, allocations: 18.59 kB / 1.015 GB, free: 190.1 MB / 0.7481 GB Notification: Performance of SimCode: time 5.11e-07/0.7727, allocations: 0 / 1.015 GB, free: 190.1 MB / 0.7481 GB Notification: Performance of Templates: time 0.006747/0.7795, allocations: 3.231 MB / 1.018 GB, free: 189.9 MB / 0.7481 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & ./BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.414701271802187] Failed to read output from testmodel.py, exit status != 0: 0.7862815801054239 0.8015854050000001 0.432237859 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f10558d97b0>