Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.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.001078/0.001078, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.00119/0.00119, allocations: 169 kB / 23.02 MB, free: 1.551 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 1.016/1.016, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001684/0.001684, allocations: 241.8 kB / 260.2 MB, free: 12.82 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7845/0.7845, allocations: 138.4 MB / 455.2 MB, free: 1.5 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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: translateModel(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.956e-06/2.956e-06, allocations: 0 / 0.5551 GB, free: 484 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.883e-05/4.179e-05, allocations: 2.312 kB / 0.5551 GB, free: 480 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.3472/0.3472, allocations: 146.7 MB / 0.6984 GB, free: 10.16 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001513/0.3487, allocations: 0.9927 MB / 0.6993 GB, free: 9.18 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001957/0.3489, allocations: 15.88 kB / 0.6993 GB, free: 9.164 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0003182/0.3492, allocations: 95.14 kB / 0.6994 GB, free: 9.07 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0007577/0.35, allocations: 409.8 kB / 0.6998 GB, free: 8.668 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005816/0.3506, allocations: 347.2 kB / 0.7001 GB, free: 8.328 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0005025/0.3511, allocations: 0.7094 MB / 0.7008 GB, free: 7.613 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002696/0.3514, allocations: 224.3 kB / 0.7011 GB, free: 7.398 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003774/0.3517, allocations: 386.9 kB / 0.7014 GB, free: 7.02 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002089/0.3519, allocations: 247.3 kB / 0.7017 GB, free: 6.777 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 3.005e-05/0.352, allocations: 24 kB / 0.7017 GB, free: 6.754 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002318/0.3522, allocations: 187.5 kB / 0.7019 GB, free: 6.57 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 7.641e-05/0.3523, allocations: 119.6 kB / 0.702 GB, free: 6.453 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 8.093e-05/0.3524, allocations: 115.7 kB / 0.7021 GB, free: 6.34 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0003386/0.3527, allocations: 346.8 kB / 0.7024 GB, free: 6 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3527, allocations: 3.984 kB / 0.7024 GB, free: 5.996 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3527, allocations: 0 / 0.7024 GB, free: 5.996 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.622e-06/0.3527, allocations: 0 / 0.7024 GB, free: 5.996 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.000507/0.3532, allocations: 0.6455 MB / 0.7031 GB, free: 5.316 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.3533, allocations: 8.75 kB / 0.7031 GB, free: 5.309 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002527/0.3535, allocations: 88.59 kB / 0.7031 GB, free: 5.223 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002605/0.3538, allocations: 275.9 kB / 0.7034 GB, free: 4.93 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.3538, allocations: 21.03 kB / 0.7034 GB, free: 4.91 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.422e-05/0.3538, allocations: 24.38 kB / 0.7034 GB, free: 4.887 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002636/0.3541, allocations: 273.5 kB / 0.7037 GB, free: 4.582 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.3541, allocations: 3.938 kB / 0.7037 GB, free: 4.578 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/0.3541, allocations: 12 kB / 0.7037 GB, free: 4.566 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.659e-06/0.3541, allocations: 10.75 kB / 0.7037 GB, free: 4.559 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001159/0.3542, allocations: 90.88 kB / 0.7038 GB, free: 4.469 MB / 0.5105 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007561/0.355, allocations: 1.437 MB / 0.7052 GB, free: 2.969 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001077/0.3551, allocations: 71.03 kB / 0.7053 GB, free: 2.887 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.577e-05/0.3551, allocations: 43.67 kB / 0.7053 GB, free: 2.84 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000217/0.3554, allocations: 39.95 kB / 0.7054 GB, free: 2.801 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.729e-05/0.3554, allocations: 45.38 kB / 0.7054 GB, free: 2.746 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=13): time 2.154e-06/0.3554, allocations: 3.984 kB / 0.7054 GB, free: 2.742 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13): time 0.000305/0.3557, allocations: 151.3 kB / 0.7056 GB, free: 2.59 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.857e-05/0.3557, allocations: 55.41 kB / 0.7056 GB, free: 2.523 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.3558, allocations: 276.3 kB / 0.7059 GB, free: 2.242 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.789e-06/0.3558, allocations: 29.7 kB / 0.7059 GB, free: 2.207 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.885e-05/0.3559, allocations: 242.8 kB / 0.7061 GB, free: 1.965 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.067e-05/0.3559, allocations: 47.58 kB / 0.7062 GB, free: 1.918 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.31e-05/0.356, allocations: 47.31 kB / 0.7062 GB, free: 1.863 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.974e-05/0.356, allocations: 0.5001 MB / 0.7067 GB, free: 1.352 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.677e-05/0.356, allocations: 19.98 kB / 0.7067 GB, free: 1.332 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.935e-05/0.3561, allocations: 162 kB / 0.7069 GB, free: 1.133 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.957e-05/0.3562, allocations: 109.9 kB / 0.707 GB, free: 1 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3562, allocations: 0 / 0.707 GB, free: 1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001419/0.3563, allocations: 134.5 kB / 0.7071 GB, free: 0.8633 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.3564, allocations: 8 kB / 0.7071 GB, free: 0.8555 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.3564, allocations: 0 / 0.7071 GB, free: 0.8555 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.3564, allocations: 4 kB / 0.7071 GB, free: 0.8516 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.69e-05/0.3565, allocations: 32.14 kB / 0.7072 GB, free: 0.8203 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.3565, allocations: 11.92 kB / 0.7072 GB, free: 0.8086 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.266e-05/0.3565, allocations: 15.89 kB / 0.7072 GB, free: 0.793 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.02e-05/0.3566, allocations: 8.562 kB / 0.7072 GB, free: 0.7852 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (17): * Single equations (assignments): 17 * 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.927e-05/0.3566, allocations: 164.5 kB / 0.7074 GB, free: 0.6133 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.575e-05/0.3567, allocations: 27.86 kB / 0.7074 GB, free: 0.5859 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001521/0.3568, allocations: 125.7 kB / 0.7075 GB, free: 468 kB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.3568, allocations: 0 / 0.7075 GB, free: 468 kB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3568, allocations: 7.938 kB / 0.7075 GB, free: 460 kB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3568, allocations: 7.922 kB / 0.7075 GB, free: 452 kB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004464/0.3573, allocations: 0.5497 MB / 0.7081 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.3573, allocations: 1.125 kB / 0.7081 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.491e-05/0.3573, allocations: 31.86 kB / 0.7081 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.668e-06/0.3573, allocations: 4 kB / 0.7081 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.3573, allocations: 4 kB / 0.7081 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.3573, allocations: 8.203 kB / 0.7081 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.3574, allocations: 8.547 kB / 0.7081 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001876/0.3575, allocations: 313.5 kB / 0.7084 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.785e-05/0.3576, allocations: 44.64 kB / 0.7085 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/0.3576, allocations: 4 kB / 0.7085 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.432e-05/0.3577, allocations: 4 kB / 0.7085 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.964e-05/0.3577, allocations: 15.98 kB / 0.7085 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.3577, allocations: 4 kB / 0.7085 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 9.6e-05/0.3578, allocations: 197.1 kB / 0.7087 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8e-08/0.3578, allocations: 0 / 0.7087 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002493/0.3581, allocations: 87.77 kB / 0.7088 GB, free: 15.06 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (13): * Single equations (assignments): 13 * 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.0001947/0.3583, allocations: 135.1 kB / 0.7089 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001553/0.3584, allocations: 83.47 kB / 0.709 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3584, allocations: 4 kB / 0.709 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 5.317e-05/0.3585, allocations: 44.86 kB / 0.709 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003881/0.3589, allocations: 103.9 kB / 0.7091 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008471/0.3597, allocations: 0.5183 MB / 0.7096 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.02e-05/0.3598, allocations: 96.3 kB / 0.7097 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001006/0.3599, allocations: 41.95 kB / 0.7097 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.303e-05/0.3599, allocations: 24.5 kB / 0.7098 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of SimCode: time 6.21e-07/0.3599, allocations: 3.938 kB / 0.7098 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of Templates: time 0.005687/0.3656, allocations: 3.69 MB / 0.7134 GB, free: 10.39 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.308191224001348]