Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.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.001017/0.001017, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.0009679/0.0009679, allocations: 181 kB / 23.36 MB, free: 1.133 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.958/0.958, allocations: 177.1 MB / 203.8 MB, free: 5.465 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.002714/0.002714, allocations: 255.6 kB / 260.5 MB, free: 12.68 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.7322/0.7322, allocations: 138.4 MB / 402.2 MB, free: 0.5664 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.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 462.4 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.431e-05/2.61e-05, allocations: 3.859 kB / 462.4 MB, free: 0.918 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1471/0.1471, allocations: 146.2 MB / 0.5943 GB, free: 288 kB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.003252/0.1503, allocations: 2.318 MB / 0.5965 GB, free: 13.96 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002699/0.1506, allocations: 19.81 kB / 0.5965 GB, free: 13.94 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0003419/0.151, allocations: 87.27 kB / 0.5966 GB, free: 13.86 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001379/0.1523, allocations: 0.6721 MB / 0.5973 GB, free: 13.18 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001247/0.1536, allocations: 0.5103 MB / 0.5978 GB, free: 12.67 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0007936/0.1544, allocations: 0.7522 MB / 0.5985 GB, free: 11.92 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003024/0.1547, allocations: 226.8 kB / 0.5987 GB, free: 11.7 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004422/0.1551, allocations: 399 kB / 0.5991 GB, free: 11.31 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005342/0.1557, allocations: 394.8 kB / 0.5995 GB, free: 10.93 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.765e-05/0.1557, allocations: 28 kB / 0.5995 GB, free: 10.9 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007171/0.1564, allocations: 490.6 kB / 0.6 GB, free: 10.42 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 9.581e-05/0.1565, allocations: 119.6 kB / 0.6001 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 9.777e-05/0.1566, allocations: 127.7 kB / 0.6002 GB, free: 10.18 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0005829/0.1572, allocations: 0.5334 MB / 0.6007 GB, free: 9.641 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1572, allocations: 0 / 0.6007 GB, free: 9.641 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.703e-06/0.1572, allocations: 0 / 0.6007 GB, free: 9.641 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.1572, allocations: 3.938 kB / 0.6007 GB, free: 9.637 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0005953/0.1578, allocations: 0.557 MB / 0.6013 GB, free: 9.055 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.1578, allocations: 12.75 kB / 0.6013 GB, free: 9.043 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006074/0.1584, allocations: 176.3 kB / 0.6015 GB, free: 8.871 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003316/0.1588, allocations: 260.6 kB / 0.6017 GB, free: 8.594 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.656e-05/0.1588, allocations: 76.61 kB / 0.6018 GB, free: 8.508 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.268e-05/0.1589, allocations: 31.94 kB / 0.6018 GB, free: 8.477 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003435/0.1592, allocations: 296.4 kB / 0.6021 GB, free: 8.16 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.1592, allocations: 0 / 0.6021 GB, free: 8.16 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.111e-05/0.1592, allocations: 12 kB / 0.6021 GB, free: 8.148 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.1592, allocations: 8 kB / 0.6021 GB, free: 8.141 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000129/0.1594, allocations: 82.23 kB / 0.6022 GB, free: 8.059 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.0008859/0.1603, allocations: 0.8806 MB / 0.6031 GB, free: 7.152 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001627/0.1604, allocations: 120 kB / 0.6032 GB, free: 7.023 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.321e-05/0.1605, allocations: 36.8 kB / 0.6032 GB, free: 6.984 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00024/0.1607, allocations: 71.92 kB / 0.6033 GB, free: 6.914 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.1607, allocations: 42.5 kB / 0.6033 GB, free: 6.863 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=15): time 1.603e-06/0.1607, allocations: 0 / 0.6033 GB, free: 6.863 MB / 0.5573 GB Notification: Performance of matching and sorting (n=15): time 0.0002969/0.161, allocations: 122.9 kB / 0.6034 GB, free: 6.738 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.373e-05/0.1611, allocations: 51.41 kB / 0.6035 GB, free: 6.676 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.1612, allocations: 232.9 kB / 0.6037 GB, free: 6.438 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.1612, allocations: 25.7 kB / 0.6037 GB, free: 6.406 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 7.547e-05/0.1613, allocations: 176.9 kB / 0.6039 GB, free: 6.23 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.1613, allocations: 55.52 kB / 0.604 GB, free: 6.176 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.416e-05/0.1614, allocations: 41.69 kB / 0.604 GB, free: 6.129 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 9.247e-05/0.1615, allocations: 346.7 kB / 0.6043 GB, free: 5.781 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.73e-05/0.1615, allocations: 22.81 kB / 0.6043 GB, free: 5.758 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003517/0.1618, allocations: 143.9 kB / 0.6045 GB, free: 5.578 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001043/0.162, allocations: 101.1 kB / 0.6046 GB, free: 5.457 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.162, allocations: 4 kB / 0.6046 GB, free: 5.453 MB / 0.5573 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001768/0.1621, allocations: 132.6 kB / 0.6047 GB, free: 5.32 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.1621, allocations: 8 kB / 0.6047 GB, free: 5.312 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.1622, allocations: 0 / 0.6047 GB, free: 5.312 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.1622, allocations: 5.875 kB / 0.6047 GB, free: 5.309 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.1623, allocations: 39.92 kB / 0.6048 GB, free: 5.27 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.536e-06/0.1623, allocations: 0 / 0.6048 GB, free: 5.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.271e-05/0.1624, allocations: 23.88 kB / 0.6048 GB, free: 5.246 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.302e-05/0.1624, allocations: 16.19 kB / 0.6048 GB, free: 5.23 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 20 * 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.586e-05/0.1625, allocations: 124.6 kB / 0.6049 GB, free: 5.098 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.852e-05/0.1625, allocations: 15.98 kB / 0.6049 GB, free: 5.082 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000257/0.1628, allocations: 141.8 kB / 0.6051 GB, free: 4.945 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.1628, allocations: 0 / 0.6051 GB, free: 4.945 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1628, allocations: 3.984 kB / 0.6051 GB, free: 4.941 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.1628, allocations: 0 / 0.6051 GB, free: 4.941 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005445/0.1633, allocations: 0.5203 MB / 0.6056 GB, free: 4.367 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.1633, allocations: 3.938 kB / 0.6056 GB, free: 4.363 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.033e-05/0.1634, allocations: 27.98 kB / 0.6056 GB, free: 4.336 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.1634, allocations: 7.938 kB / 0.6056 GB, free: 4.328 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.1634, allocations: 8 kB / 0.6056 GB, free: 4.32 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.1634, allocations: 0.75 kB / 0.6056 GB, free: 4.32 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.1634, allocations: 7.938 kB / 0.6056 GB, free: 4.312 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001864/0.1636, allocations: 295 kB / 0.6059 GB, free: 3.98 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.657e-05/0.1637, allocations: 31.84 kB / 0.6059 GB, free: 3.949 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/0.1637, allocations: 12.03 kB / 0.606 GB, free: 3.938 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.909e-05/0.1638, allocations: 16.8 kB / 0.606 GB, free: 3.922 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.497e-05/0.1638, allocations: 11.92 kB / 0.606 GB, free: 3.91 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.1638, allocations: 12 kB / 0.606 GB, free: 3.898 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 5.027e-05/0.1639, allocations: 78.75 kB / 0.6061 GB, free: 3.824 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.1639, allocations: 0 / 0.6061 GB, free: 3.824 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002651/0.1641, allocations: 111.7 kB / 0.6062 GB, free: 3.715 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 (15): * Single equations (assignments): 15 * 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.0002509/0.1644, allocations: 156.1 kB / 0.6063 GB, free: 3.551 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001351/0.1645, allocations: 86.19 kB / 0.6064 GB, free: 3.465 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.1645, allocations: 4 kB / 0.6064 GB, free: 3.461 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 4.841e-05/0.1646, allocations: 45.27 kB / 0.6065 GB, free: 3.414 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003522/0.1649, allocations: 113.6 kB / 0.6066 GB, free: 3.312 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008732/0.1658, allocations: 0.5432 MB / 0.6071 GB, free: 2.719 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.845e-05/0.1659, allocations: 103 kB / 0.6072 GB, free: 2.602 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001155/0.166, allocations: 48.11 kB / 0.6072 GB, free: 2.562 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002188/0.1662, allocations: 131.2 kB / 0.6074 GB, free: 2.434 MB / 0.5573 GB Notification: Performance of SimCode: time 8.92e-07/0.1662, allocations: 0 / 0.6074 GB, free: 2.434 MB / 0.5573 GB Notification: Performance of Templates: time 0.008254/0.1745, allocations: 5.685 MB / 0.6129 GB, free: 12.97 MB / 0.573 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8519773920997977]