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.0009304/0.0009304, allocations: 80.48 kB / 19.93 MB, free: 4.633 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.0009913/0.0009913, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8956/0.8956, allocations: 177.2 MB / 203.5 MB, free: 5.715 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.001464/0.001464, allocations: 231.9 kB / 260.2 MB, free: 13.01 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.6816/0.6816, allocations: 138.4 MB / 455.1 MB, free: 30.09 MB / 410.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 2.064e-06/2.064e-06, allocations: 0 / 0.6475 GB, free: 1.383 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.302e-05/3.509e-05, allocations: 2.281 kB / 0.6475 GB, free: 1.379 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate): time 0.4263/0.4263, allocations: 149.4 MB / 0.7935 GB, free: 5.324 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005671/0.432, allocations: 6.532 MB / 0.7999 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004602/0.4324, allocations: 15.88 kB / 0.7999 GB, free: 14.76 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0005235/0.433, allocations: 174.6 kB / 0.8 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002602/0.4356, allocations: 1.325 MB / 0.8013 GB, free: 13.26 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001384/0.4369, allocations: 0.6961 MB / 0.802 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0007108/0.4377, allocations: 0.7601 MB / 0.8028 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000323/0.438, allocations: 232.5 kB / 0.803 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009592/0.4389, allocations: 0.6851 MB / 0.8036 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006114/0.4395, allocations: 426.8 kB / 0.8041 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.884e-05/0.4396, allocations: 24 kB / 0.8041 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001587/0.4412, allocations: 1.067 MB / 0.8051 GB, free: 9.371 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.4413, allocations: 127.5 kB / 0.8052 GB, free: 9.246 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001106/0.4414, allocations: 123.8 kB / 0.8054 GB, free: 9.125 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001371/0.4428, allocations: 0.9271 MB / 0.8063 GB, free: 8.195 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.4428, allocations: 3.938 kB / 0.8063 GB, free: 8.191 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.304e-06/0.4428, allocations: 0 / 0.8063 GB, free: 8.191 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.4428, allocations: 0 / 0.8063 GB, free: 8.191 MB / 0.6355 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.0007881/0.4436, allocations: 0.63 MB / 0.8069 GB, free: 7.527 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.4436, allocations: 9.938 kB / 0.8069 GB, free: 7.52 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005592/0.4442, allocations: 127.6 kB / 0.807 GB, free: 7.395 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004293/0.4446, allocations: 283.9 kB / 0.8073 GB, free: 7.094 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.224e-05/0.4447, allocations: 72.06 kB / 0.8074 GB, free: 7.012 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.985e-05/0.4447, allocations: 24 kB / 0.8074 GB, free: 6.988 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004424/0.4451, allocations: 404.9 kB / 0.8078 GB, free: 6.566 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.4452, allocations: 0 / 0.8078 GB, free: 6.566 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.408e-05/0.4452, allocations: 12 kB / 0.8078 GB, free: 6.555 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.4452, allocations: 4 kB / 0.8078 GB, free: 6.551 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003037/0.4455, allocations: 273.8 kB / 0.808 GB, free: 6.281 MB / 0.6355 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.001101/0.4466, allocations: 1.062 MB / 0.8091 GB, free: 5.18 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002631/0.4469, allocations: 186.5 kB / 0.8093 GB, free: 4.988 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001291/0.447, allocations: 113.7 kB / 0.8094 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003812/0.4474, allocations: 127.9 kB / 0.8095 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.4474, allocations: 42.48 kB / 0.8095 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 1.623e-06/0.4474, allocations: 0 / 0.8095 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.0005772/0.448, allocations: 361.2 kB / 0.8099 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/0.448, allocations: 53.09 kB / 0.8099 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/0.4482, allocations: 237.8 kB / 0.8101 GB, free: 4.039 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/0.4482, allocations: 29.7 kB / 0.8102 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.92e-05/0.4483, allocations: 196.5 kB / 0.8104 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.227e-05/0.4483, allocations: 51.53 kB / 0.8104 GB, free: 3.758 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.733e-05/0.4484, allocations: 45.7 kB / 0.8105 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.485e-05/0.4485, allocations: 330.8 kB / 0.8108 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/0.4486, allocations: 95.92 kB / 0.8109 GB, free: 3.281 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001638/0.4487, allocations: 227 kB / 0.8111 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002528/0.449, allocations: 236.6 kB / 0.8113 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.449, allocations: 2 kB / 0.8113 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003387/0.4493, allocations: 277.8 kB / 0.8116 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.4493, allocations: 11.94 kB / 0.8116 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.4494, allocations: 0 / 0.8116 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.4494, allocations: 4 kB / 0.8116 GB, free: 2.477 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.4495, allocations: 48.09 kB / 0.8116 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.4495, allocations: 0 / 0.8116 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.239e-05/0.4496, allocations: 23.88 kB / 0.8117 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.692e-05/0.4496, allocations: 14.16 kB / 0.8117 GB, free: 2.395 MB / 0.6355 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.0001195/0.4497, allocations: 154.4 kB / 0.8118 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.238e-05/0.4498, allocations: 23.8 kB / 0.8118 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004346/0.4502, allocations: 306.3 kB / 0.8121 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.646e-06/0.4502, allocations: 4 kB / 0.8121 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.4502, allocations: 1.125 kB / 0.8121 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.4502, allocations: 3.984 kB / 0.8121 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009077/0.4511, allocations: 0.7106 MB / 0.8128 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.4512, allocations: 4.031 kB / 0.8128 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.439e-05/0.4512, allocations: 39.91 kB / 0.8129 GB, free: 1.09 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.4512, allocations: 4 kB / 0.8129 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.4513, allocations: 8 kB / 0.8129 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.4513, allocations: 1.438 kB / 0.8129 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.4513, allocations: 4 kB / 0.8129 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000339/0.4516, allocations: 390.5 kB / 0.8133 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.138e-05/0.4517, allocations: 62.3 kB / 0.8133 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.172e-05/0.4517, allocations: 3.984 kB / 0.8133 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.4518, allocations: 15.98 kB / 0.8133 GB, free: 0.5781 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.93e-05/0.4518, allocations: 15.92 kB / 0.8134 GB, free: 0.5625 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.882e-05/0.4519, allocations: 15.98 kB / 0.8134 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.054e-05/0.452, allocations: 165.2 kB / 0.8135 GB, free: 396 kB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.452, allocations: 0 / 0.8135 GB, free: 396 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003878/0.4523, allocations: 135.5 kB / 0.8137 GB, free: 260 kB / 0.6355 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.0003643/0.4527, allocations: 227.8 kB / 0.8139 GB, free: 24 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003304/0.453, allocations: 217.6 kB / 0.8141 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.453, allocations: 0 / 0.8141 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.4532, allocations: 116.6 kB / 0.8142 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004129/0.4536, allocations: 98.75 kB / 0.8143 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007935/0.4544, allocations: 0.6121 MB / 0.8149 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001268/0.4545, allocations: 180.8 kB / 0.8151 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.395e-05/0.4546, allocations: 28.5 kB / 0.8151 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of SimCode: time 7.42e-07/0.4546, allocations: 0 / 0.8151 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of Templates: time 0.005855/0.4604, allocations: 5.724 MB / 0.8207 GB, free: 9.07 MB / 0.6511 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.191997217014432] Failed to read output from testmodel.py, exit status != 0: 0.46816318947821856 0.47734318200000003 0.032806224 Calling exit ...