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.001456/0.001456, allocations: 93.06 kB / 19.65 MB, free: 280 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.001589/0.001589, allocations: 173 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 0.9671/0.9671, 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.001875/0.001875, allocations: 236.9 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.7767/0.7767, allocations: 138.4 MB / 455.2 MB, free: 1.496 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 1.694e-06/1.694e-06, allocations: 0 / 0.5551 GB, free: 480 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.559e-05/1.728e-05, allocations: 6.312 kB / 0.5551 GB, free: 472 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.351/0.351, allocations: 146.7 MB / 0.6984 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.001291/0.3523, allocations: 0.997 MB / 0.6993 GB, free: 9.191 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002116/0.3525, allocations: 19.81 kB / 0.6993 GB, free: 9.172 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0003123/0.3528, allocations: 91.2 kB / 0.6994 GB, free: 9.082 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0007343/0.3536, allocations: 413.7 kB / 0.6998 GB, free: 8.676 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005812/0.3541, allocations: 347.2 kB / 0.7002 GB, free: 8.336 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0005139/0.3547, allocations: 0.7132 MB / 0.7009 GB, free: 7.617 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003173/0.355, allocations: 224.3 kB / 0.7011 GB, free: 7.402 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004608/0.3554, allocations: 382.9 kB / 0.7014 GB, free: 7.027 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002118/0.3556, allocations: 243.3 kB / 0.7017 GB, free: 6.789 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 3.039e-05/0.3557, allocations: 20 kB / 0.7017 GB, free: 6.77 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002596/0.3559, allocations: 191.6 kB / 0.7019 GB, free: 6.582 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 8.048e-05/0.356, allocations: 115.6 kB / 0.702 GB, free: 6.469 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 7.377e-05/0.3561, allocations: 111.8 kB / 0.7021 GB, free: 6.359 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0003453/0.3564, allocations: 354.7 kB / 0.7024 GB, free: 6.012 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3564, allocations: 0 / 0.7024 GB, free: 6.012 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3564, allocations: 0 / 0.7024 GB, free: 6.012 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.3564, allocations: 0 / 0.7024 GB, free: 6.012 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.0005179/0.357, allocations: 0.6417 MB / 0.7031 GB, free: 5.336 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.357, allocations: 12.75 kB / 0.7031 GB, free: 5.324 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000329/0.3573, allocations: 88.61 kB / 0.7032 GB, free: 5.238 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000262/0.3576, allocations: 275.9 kB / 0.7034 GB, free: 4.945 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.3576, allocations: 21.03 kB / 0.7034 GB, free: 4.926 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.305e-05/0.3576, allocations: 24.38 kB / 0.7035 GB, free: 4.902 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003504/0.358, allocations: 273.5 kB / 0.7037 GB, free: 4.598 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.358, allocations: 4 kB / 0.7037 GB, free: 4.594 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.038e-05/0.358, allocations: 8 kB / 0.7037 GB, free: 4.586 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.358, allocations: 12 kB / 0.7037 GB, free: 4.574 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001573/0.3582, allocations: 95.5 kB / 0.7038 GB, free: 4.48 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.0009468/0.3591, allocations: 1.433 MB / 0.7052 GB, free: 2.984 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001311/0.3593, allocations: 75.05 kB / 0.7053 GB, free: 2.898 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.676e-05/0.3593, allocations: 40.11 kB / 0.7053 GB, free: 2.855 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002486/0.3596, allocations: 51.94 kB / 0.7054 GB, free: 2.805 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.82e-05/0.3596, allocations: 36.77 kB / 0.7054 GB, free: 2.762 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=13): time 1.733e-06/0.3596, allocations: 0 / 0.7054 GB, free: 2.762 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13): time 0.0003743/0.36, allocations: 151.3 kB / 0.7056 GB, free: 2.609 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.101e-05/0.36, allocations: 59.41 kB / 0.7056 GB, free: 2.539 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.3601, allocations: 280.3 kB / 0.7059 GB, free: 2.254 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.3602, allocations: 25.7 kB / 0.7059 GB, free: 2.223 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.244e-05/0.3602, allocations: 246.8 kB / 0.7062 GB, free: 1.977 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.597e-05/0.3603, allocations: 47.58 kB / 0.7062 GB, free: 1.93 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.403e-05/0.3603, allocations: 47.31 kB / 0.7062 GB, free: 1.875 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.185e-05/0.3604, allocations: 0.5001 MB / 0.7067 GB, free: 1.363 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.385e-05/0.3604, allocations: 19.92 kB / 0.7068 GB, free: 1.344 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.835e-05/0.3605, allocations: 166 kB / 0.7069 GB, free: 1.141 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001095/0.3606, allocations: 106.1 kB / 0.707 GB, free: 1.012 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.3606, allocations: 0 / 0.707 GB, free: 1.012 MB / 0.5105 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001825/0.3608, allocations: 134.6 kB / 0.7071 GB, free: 0.875 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.3608, allocations: 7.984 kB / 0.7071 GB, free: 0.8672 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.3608, allocations: 4 kB / 0.7072 GB, free: 0.8633 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.3608, allocations: 0 / 0.7072 GB, free: 0.8633 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.361, allocations: 40.08 kB / 0.7072 GB, free: 0.8242 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.361, allocations: 0 / 0.7072 GB, free: 0.8242 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.294e-05/0.361, allocations: 19.89 kB / 0.7072 GB, free: 0.8047 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.069e-05/0.3611, allocations: 4 kB / 0.7072 GB, free: 0.8008 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 6.81e-05/0.3611, allocations: 172.5 kB / 0.7074 GB, free: 0.6211 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.773e-05/0.3612, allocations: 27.84 kB / 0.7074 GB, free: 0.5938 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001749/0.3613, allocations: 124.7 kB / 0.7075 GB, free: 476 kB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.3613, allocations: 3.984 kB / 0.7075 GB, free: 472 kB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.3613, allocations: 0 / 0.7075 GB, free: 472 kB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3614, allocations: 3.938 kB / 0.7075 GB, free: 468 kB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005341/0.3619, allocations: 0.5574 MB / 0.7081 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.748e-06/0.3619, allocations: 4 kB / 0.7081 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.251e-05/0.362, allocations: 27.25 kB / 0.7081 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.362, allocations: 3.984 kB / 0.7081 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.362, allocations: 4 kB / 0.7081 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.362, allocations: 4.219 kB / 0.7081 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.362, allocations: 8.484 kB / 0.7081 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002285/0.3622, allocations: 317.6 kB / 0.7084 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.459e-05/0.3623, allocations: 39.72 kB / 0.7085 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.496e-05/0.3623, allocations: 7.938 kB / 0.7085 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.117e-05/0.3624, allocations: 8 kB / 0.7085 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.411e-05/0.3624, allocations: 7.984 kB / 0.7085 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.3625, allocations: 16.03 kB / 0.7085 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001067/0.3626, allocations: 185.1 kB / 0.7087 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.1e-08/0.3626, allocations: 0 / 0.7087 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003543/0.3629, allocations: 91.77 kB / 0.7088 GB, free: 15.07 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.0002164/0.3631, allocations: 135 kB / 0.7089 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001929/0.3633, allocations: 92.22 kB / 0.709 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3633, allocations: 0 / 0.709 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.545e-05/0.3634, allocations: 44.3 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.000508/0.3639, allocations: 90.17 kB / 0.7091 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009536/0.3649, allocations: 0.5299 MB / 0.7096 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.105e-05/0.3649, allocations: 96.3 kB / 0.7097 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001256/0.365, allocations: 48.34 kB / 0.7098 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.915e-05/0.3651, allocations: 24.5 kB / 0.7098 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of SimCode: time 9.42e-07/0.3651, allocations: 0 / 0.7098 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of Templates: time 0.00718/0.3723, allocations: 4.02 MB / 0.7137 GB, free: 10.07 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.125400763936341]