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.001207/0.001207, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.001338/0.001338, allocations: 177 kB / 23.36 MB, free: 1.137 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.041/1.041, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.001699/0.001699, allocations: 238 kB / 260.5 MB, free: 12.69 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.7246/0.7246, allocations: 138.4 MB / 402.2 MB, free: 64 kB / 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.362e-06/1.362e-06, allocations: 0.9844 kB / 462.4 MB, free: 0.7617 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.661e-05/1.797e-05, allocations: 3.297 kB / 462.4 MB, free: 0.7578 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1492/0.1492, allocations: 146.1 MB / 0.5942 GB, free: 164 kB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.002083/0.1513, allocations: 1.02 MB / 0.5952 GB, free: 15.14 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000231/0.1516, allocations: 19.81 kB / 0.5952 GB, free: 15.12 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0003349/0.1519, allocations: 99.14 kB / 0.5953 GB, free: 15.02 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0009118/0.1528, allocations: 413.8 kB / 0.5957 GB, free: 14.62 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006988/0.1535, allocations: 347.2 kB / 0.596 GB, free: 14.28 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0007481/0.1542, allocations: 0.7055 MB / 0.5967 GB, free: 13.57 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003732/0.1546, allocations: 214.7 kB / 0.5969 GB, free: 13.37 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005542/0.1552, allocations: 379 kB / 0.5973 GB, free: 13 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000309/0.1555, allocations: 231.3 kB / 0.5975 GB, free: 12.77 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.834e-05/0.1555, allocations: 27.94 kB / 0.5975 GB, free: 12.74 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003531/0.1559, allocations: 183.6 kB / 0.5977 GB, free: 12.56 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001142/0.156, allocations: 119.6 kB / 0.5978 GB, free: 12.45 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001159/0.1561, allocations: 115.2 kB / 0.5979 GB, free: 12.34 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0004617/0.1566, allocations: 342.8 kB / 0.5983 GB, free: 12 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1566, allocations: 0 / 0.5983 GB, free: 12 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.323e-06/0.1566, allocations: 4 kB / 0.5983 GB, free: 12 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.1566, allocations: 0 / 0.5983 GB, free: 12 MB / 0.5573 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.0006/0.1572, allocations: 0.526 MB / 0.5988 GB, free: 11.45 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.1572, allocations: 12.75 kB / 0.5988 GB, free: 11.43 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002718/0.1575, allocations: 83.11 kB / 0.5989 GB, free: 11.36 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002829/0.1578, allocations: 248.6 kB / 0.5991 GB, free: 11.09 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.1578, allocations: 22.02 kB / 0.5991 GB, free: 11.07 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.371e-05/0.1578, allocations: 28.12 kB / 0.5992 GB, free: 11.04 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002492/0.1581, allocations: 244.6 kB / 0.5994 GB, free: 10.78 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.1581, allocations: 3.938 kB / 0.5994 GB, free: 10.77 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.1581, allocations: 12 kB / 0.5994 GB, free: 10.76 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.1581, allocations: 4 kB / 0.5994 GB, free: 10.76 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.671e-05/0.1582, allocations: 83.89 kB / 0.5995 GB, free: 10.67 MB / 0.5573 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.0009877/0.1592, allocations: 0.9831 MB / 0.6004 GB, free: 9.652 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.1593, allocations: 97.3 kB / 0.6005 GB, free: 9.547 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.367e-05/0.1593, allocations: 27.69 kB / 0.6006 GB, free: 9.516 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001811/0.1595, allocations: 55.94 kB / 0.6006 GB, free: 9.461 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.92e-05/0.1595, allocations: 30.56 kB / 0.6006 GB, free: 9.422 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=13): time 1.763e-06/0.1595, allocations: 0 / 0.6006 GB, free: 9.422 MB / 0.5573 GB Notification: Performance of matching and sorting (n=13): time 0.0002437/0.1597, allocations: 118.8 kB / 0.6008 GB, free: 9.305 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.481e-05/0.1598, allocations: 51.41 kB / 0.6008 GB, free: 9.242 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.1599, allocations: 221 kB / 0.601 GB, free: 9.02 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.1599, allocations: 29.7 kB / 0.601 GB, free: 8.984 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 7.325e-05/0.16, allocations: 176.6 kB / 0.6012 GB, free: 8.801 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.372e-05/0.16, allocations: 47.53 kB / 0.6013 GB, free: 8.754 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.344e-05/0.16, allocations: 41.69 kB / 0.6013 GB, free: 8.707 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 7.876e-05/0.1601, allocations: 338.7 kB / 0.6016 GB, free: 8.367 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.475e-05/0.1601, allocations: 14.83 kB / 0.6016 GB, free: 8.352 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.646e-05/0.1602, allocations: 127.1 kB / 0.6018 GB, free: 8.191 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.801e-05/0.1603, allocations: 107.9 kB / 0.6019 GB, free: 8.066 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.1603, allocations: 0 / 0.6019 GB, free: 8.066 MB / 0.5573 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001161/0.1604, allocations: 100.9 kB / 0.602 GB, free: 7.961 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.1605, allocations: 4 kB / 0.602 GB, free: 7.957 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1605, allocations: 4 kB / 0.602 GB, free: 7.953 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.1605, allocations: 0 / 0.602 GB, free: 7.953 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.274e-05/0.1606, allocations: 31.98 kB / 0.602 GB, free: 7.922 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.1606, allocations: 6.125 kB / 0.602 GB, free: 7.918 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.379e-05/0.1606, allocations: 28.03 kB / 0.602 GB, free: 7.891 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.1607, allocations: 7.938 kB / 0.602 GB, free: 7.883 MB / 0.5573 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 7.663e-05/0.1607, allocations: 116.7 kB / 0.6021 GB, free: 7.758 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.856e-05/0.1608, allocations: 21.16 kB / 0.6022 GB, free: 7.738 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000123/0.1609, allocations: 99.61 kB / 0.6023 GB, free: 7.641 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.1609, allocations: 4 kB / 0.6023 GB, free: 7.637 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.1609, allocations: 0 / 0.6023 GB, free: 7.637 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.1609, allocations: 3.984 kB / 0.6023 GB, free: 7.633 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003984/0.1613, allocations: 495.9 kB / 0.6027 GB, free: 7.094 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.1613, allocations: 4.562 kB / 0.6027 GB, free: 7.09 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.245e-05/0.1614, allocations: 31.92 kB / 0.6028 GB, free: 7.059 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.1614, allocations: 3.938 kB / 0.6028 GB, free: 7.055 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.1614, allocations: 7.938 kB / 0.6028 GB, free: 7.047 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.1614, allocations: 5.688 kB / 0.6028 GB, free: 7.043 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1614, allocations: 0 / 0.6028 GB, free: 7.043 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001497/0.1615, allocations: 292.2 kB / 0.6031 GB, free: 6.711 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.565e-05/0.1616, allocations: 28.45 kB / 0.6031 GB, free: 6.684 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.699e-05/0.1616, allocations: 7.938 kB / 0.6031 GB, free: 6.676 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.854e-05/0.1616, allocations: 8 kB / 0.6031 GB, free: 6.668 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.274e-05/0.1617, allocations: 7.984 kB / 0.6031 GB, free: 6.66 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.034e-06/0.1617, allocations: 7.984 kB / 0.6031 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 5.126e-05/0.1617, allocations: 78.77 kB / 0.6032 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.1617, allocations: 0 / 0.6032 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002132/0.1619, allocations: 83.72 kB / 0.6033 GB, free: 6.496 MB / 0.5573 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.0001755/0.1621, allocations: 113.4 kB / 0.6034 GB, free: 6.375 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001245/0.1622, allocations: 71.39 kB / 0.6035 GB, free: 6.305 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.1622, allocations: 4 kB / 0.6035 GB, free: 6.301 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 4.04e-05/0.1623, allocations: 41.41 kB / 0.6035 GB, free: 6.258 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/0.1626, allocations: 96.58 kB / 0.6036 GB, free: 6.172 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007143/0.1633, allocations: 0.5179 MB / 0.6041 GB, free: 5.605 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.941e-05/0.1634, allocations: 96.28 kB / 0.6042 GB, free: 5.492 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 8.113e-05/0.1635, allocations: 24.78 kB / 0.6042 GB, free: 5.473 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001518/0.1636, allocations: 111.3 kB / 0.6043 GB, free: 5.363 MB / 0.5573 GB Notification: Performance of SimCode: time 5.11e-07/0.1636, allocations: 4 kB / 0.6043 GB, free: 5.359 MB / 0.5573 GB Notification: Performance of Templates: time 0.006169/0.1698, allocations: 4.01 MB / 0.6082 GB, free: 1.535 MB / 0.5573 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7543174559250474]