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.001875/0.001875, allocations: 80.22 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002335/0.002335, allocations: 167 kB / 22.46 MB, free: 5.379 MB / 14.72 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.463/1.463, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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.002431/0.002431, allocations: 233.9 kB / 259.4 MB, free: 476 kB / 238.1 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 1.228/1.228, allocations: 138.4 MB / 454.3 MB, free: 2.027 MB / 366.1 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.883e-06/1.883e-06, allocations: 3.938 kB / 0.6468 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.937e-05/3.125e-05, allocations: 6.219 kB / 0.6468 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate): time 0.5368/0.5368, allocations: 149.4 MB / 0.7928 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.00925/0.546, allocations: 6.533 MB / 0.7991 GB, free: 4.441 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004015/0.5464, allocations: 19.81 kB / 0.7991 GB, free: 4.422 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0005947/0.547, allocations: 174.7 kB / 0.7993 GB, free: 4.25 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003368/0.5504, allocations: 1.322 MB / 0.8006 GB, free: 2.922 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001863/0.5523, allocations: 0.7045 MB / 0.8013 GB, free: 2.219 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0009811/0.5532, allocations: 0.76 MB / 0.802 GB, free: 1.457 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000449/0.5537, allocations: 235.2 kB / 0.8023 GB, free: 1.223 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00134/0.555, allocations: 0.6812 MB / 0.8029 GB, free: 0.5391 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008631/0.5559, allocations: 418.8 kB / 0.8033 GB, free: 132 kB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 5.959e-05/0.556, allocations: 32 kB / 0.8034 GB, free: 100 kB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002016/0.558, allocations: 1.064 MB / 0.8044 GB, free: 15.03 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001695/0.5581, allocations: 123.6 kB / 0.8045 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001857/0.5583, allocations: 127.7 kB / 0.8046 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001468/0.5598, allocations: 0.9232 MB / 0.8055 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.5598, allocations: 0 / 0.8055 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.382e-06/0.5598, allocations: 0 / 0.8055 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.5598, allocations: 0 / 0.8055 GB, free: 13.86 MB / 0.6387 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.001132/0.5609, allocations: 0.6296 MB / 0.8062 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.561, allocations: 13.34 kB / 0.8062 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001091/0.5621, allocations: 127.6 kB / 0.8063 GB, free: 13.06 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005901/0.5627, allocations: 283.9 kB / 0.8066 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001016/0.5628, allocations: 76.06 kB / 0.8066 GB, free: 12.67 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.054e-05/0.5628, allocations: 28 kB / 0.8067 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007616/0.5636, allocations: 398.2 kB / 0.807 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.5636, allocations: 0 / 0.807 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.855e-05/0.5636, allocations: 12 kB / 0.807 GB, free: 12.22 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.5636, allocations: 8 kB / 0.8071 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005972/0.5642, allocations: 273.8 kB / 0.8073 GB, free: 11.94 MB / 0.6387 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.001879/0.5661, allocations: 1.062 MB / 0.8084 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000442/0.5666, allocations: 182.6 kB / 0.8085 GB, free: 10.65 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002351/0.5668, allocations: 108.8 kB / 0.8086 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007973/0.5676, allocations: 139.8 kB / 0.8088 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.5676, allocations: 38.5 kB / 0.8088 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=15): time 1.423e-06/0.5676, allocations: 0 / 0.8088 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of matching and sorting (n=15): time 0.00104/0.5687, allocations: 353.2 kB / 0.8091 GB, free: 10.01 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/0.5687, allocations: 51.41 kB / 0.8092 GB, free: 9.945 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002549/0.569, allocations: 233.9 kB / 0.8094 GB, free: 9.711 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.008e-05/0.569, allocations: 37.55 kB / 0.8094 GB, free: 9.672 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001552/0.5692, allocations: 200.5 kB / 0.8096 GB, free: 9.473 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 5.699e-05/0.5692, allocations: 59.52 kB / 0.8097 GB, free: 9.414 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.806e-05/0.5693, allocations: 41.7 kB / 0.8097 GB, free: 9.367 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001706/0.5695, allocations: 338.8 kB / 0.8101 GB, free: 9.027 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002084/0.5697, allocations: 79.94 kB / 0.8101 GB, free: 8.949 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003268/0.57, allocations: 232.1 kB / 0.8104 GB, free: 8.684 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004964/0.5705, allocations: 233.8 kB / 0.8106 GB, free: 8.434 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.5705, allocations: 0 / 0.8106 GB, free: 8.434 MB / 0.6387 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006595/0.5712, allocations: 282.4 kB / 0.8108 GB, free: 8.152 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.5712, allocations: 11.94 kB / 0.8109 GB, free: 8.141 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.363e-06/0.5712, allocations: 4 kB / 0.8109 GB, free: 8.137 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.5712, allocations: 0 / 0.8109 GB, free: 8.137 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002437/0.5715, allocations: 43.97 kB / 0.8109 GB, free: 8.094 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.5715, allocations: 7.938 kB / 0.8109 GB, free: 8.086 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001951/0.5717, allocations: 28.44 kB / 0.8109 GB, free: 8.059 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.645e-05/0.5717, allocations: 8 kB / 0.8109 GB, free: 8.051 MB / 0.6387 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 0.0001825/0.5719, allocations: 149.8 kB / 0.8111 GB, free: 7.895 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.572, allocations: 23.86 kB / 0.8111 GB, free: 7.871 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007713/0.5728, allocations: 311.2 kB / 0.8114 GB, free: 7.566 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.5728, allocations: 7.984 kB / 0.8114 GB, free: 7.559 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.5728, allocations: 0 / 0.8114 GB, free: 7.559 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.5728, allocations: 0 / 0.8114 GB, free: 7.559 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001417/0.5742, allocations: 0.7104 MB / 0.8121 GB, free: 6.789 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.5742, allocations: 4 kB / 0.8121 GB, free: 6.785 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001943/0.5744, allocations: 31.98 kB / 0.8121 GB, free: 6.754 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.5744, allocations: 4.047 kB / 0.8121 GB, free: 6.75 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.167e-05/0.5744, allocations: 7.984 kB / 0.8122 GB, free: 6.742 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.5744, allocations: 4 kB / 0.8122 GB, free: 6.738 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.5744, allocations: 3.938 kB / 0.8122 GB, free: 6.734 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006813/0.5751, allocations: 403.5 kB / 0.8125 GB, free: 6.305 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.5752, allocations: 47.77 kB / 0.8126 GB, free: 6.258 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.25e-05/0.5753, allocations: 11.94 kB / 0.8126 GB, free: 6.246 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002358/0.5755, allocations: 18.98 kB / 0.8126 GB, free: 6.234 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.535e-05/0.5756, allocations: 19.92 kB / 0.8126 GB, free: 6.215 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.857e-05/0.5756, allocations: 11.98 kB / 0.8127 GB, free: 6.203 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0001708/0.5758, allocations: 165.2 kB / 0.8128 GB, free: 6.047 MB / 0.6387 GB Notification: Performance of sort global known variables: time 9e-08/0.5758, allocations: 0 / 0.8128 GB, free: 6.047 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0005463/0.5763, allocations: 135.6 kB / 0.8129 GB, free: 5.914 MB / 0.6387 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 (16): * Single equations (assignments): 16 * 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.0004964/0.5768, allocations: 229.4 kB / 0.8132 GB, free: 5.684 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0005541/0.5774, allocations: 207.7 kB / 0.8134 GB, free: 5.48 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.5774, allocations: 0 / 0.8134 GB, free: 5.48 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002826/0.5777, allocations: 116.3 kB / 0.8135 GB, free: 5.367 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007086/0.5784, allocations: 102.5 kB / 0.8136 GB, free: 5.277 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.5796, allocations: 0.5719 MB / 0.8141 GB, free: 4.66 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001981/0.5798, allocations: 180.8 kB / 0.8143 GB, free: 4.461 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002293/0.58, allocations: 83.28 kB / 0.8144 GB, free: 4.391 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.859e-05/0.5801, allocations: 28.5 kB / 0.8144 GB, free: 4.363 MB / 0.6387 GB Notification: Performance of SimCode: time 4.11e-07/0.5801, allocations: 0 / 0.8144 GB, free: 4.363 MB / 0.6387 GB Notification: Performance of Templates: time 0.01262/0.5927, allocations: 5.918 MB / 0.8202 GB, free: 14.58 MB / 0.6544 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.63096658885479] Failed to read output from testmodel.py, exit status != 0: 0.6018971092998981 0.6168284500000001 0.0537629 Calling exit ...