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.001369/0.001369, allocations: 92.7 kB / 19.44 MB, free: 324 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.001578/0.001578, allocations: 165.3 kB / 22.76 MB, free: 1.652 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.455/1.455, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 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.002624/0.002624, allocations: 241 kB / 259.8 MB, free: 12.84 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 1.092/1.092, allocations: 138.4 MB / 454.7 MB, free: 1.477 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.272e-06/1.272e-06, allocations: 0 / 0.5543 GB, free: 0.832 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.639e-05/2.766e-05, allocations: 6.25 kB / 0.5543 GB, free: 0.8242 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate): time 0.3582/0.3583, allocations: 149.4 MB / 0.7003 GB, free: 5.25 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.007262/0.3655, allocations: 6.532 MB / 0.7067 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000484/0.366, allocations: 19.81 kB / 0.7067 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0007461/0.3668, allocations: 178.7 kB / 0.7069 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.004081/0.3708, allocations: 1.322 MB / 0.7081 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.002041/0.3729, allocations: 0.7008 MB / 0.7088 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001216/0.3741, allocations: 0.7673 MB / 0.7096 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004646/0.3746, allocations: 239.3 kB / 0.7098 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001447/0.376, allocations: 0.6813 MB / 0.7105 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008637/0.3769, allocations: 422.8 kB / 0.7109 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 5.129e-05/0.3769, allocations: 24 kB / 0.7109 GB, free: 10.35 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002122/0.379, allocations: 1.071 MB / 0.7119 GB, free: 9.273 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001576/0.3792, allocations: 123.6 kB / 0.7121 GB, free: 9.152 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001833/0.3794, allocations: 123.7 kB / 0.7122 GB, free: 9.031 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001573/0.381, allocations: 0.9192 MB / 0.7131 GB, free: 8.109 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.381, allocations: 7.984 kB / 0.7131 GB, free: 8.102 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.152e-06/0.381, allocations: 0 / 0.7131 GB, free: 8.102 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.381, allocations: 3.938 kB / 0.7131 GB, free: 8.098 MB / 0.5261 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.001111/0.3821, allocations: 0.6212 MB / 0.7137 GB, free: 7.445 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.3821, allocations: 8.75 kB / 0.7137 GB, free: 7.438 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001102/0.3832, allocations: 195.2 kB / 0.7139 GB, free: 7.246 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000807/0.384, allocations: 291.9 kB / 0.7142 GB, free: 6.938 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001051/0.3841, allocations: 72.06 kB / 0.7142 GB, free: 6.855 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.377e-05/0.3842, allocations: 28 kB / 0.7143 GB, free: 6.828 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007709/0.385, allocations: 396.9 kB / 0.7146 GB, free: 6.414 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.385, allocations: 3.938 kB / 0.7146 GB, free: 6.41 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.8e-05/0.385, allocations: 16 kB / 0.7147 GB, free: 6.395 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.385, allocations: 8 kB / 0.7147 GB, free: 6.387 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005858/0.3856, allocations: 269.8 kB / 0.7149 GB, free: 6.121 MB / 0.5261 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.001904/0.3875, allocations: 1.082 MB / 0.716 GB, free: 4.992 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004607/0.388, allocations: 186.5 kB / 0.7162 GB, free: 4.801 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002368/0.3882, allocations: 108.8 kB / 0.7163 GB, free: 4.691 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008208/0.389, allocations: 131.8 kB / 0.7164 GB, free: 4.562 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.035e-05/0.3891, allocations: 34.56 kB / 0.7164 GB, free: 4.52 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=15): time 1.352e-06/0.3891, allocations: 0 / 0.7164 GB, free: 4.52 MB / 0.5261 GB Notification: Performance of matching and sorting (n=15): time 0.001085/0.3902, allocations: 373.1 kB / 0.7168 GB, free: 4.148 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.063e-05/0.3902, allocations: 51.41 kB / 0.7168 GB, free: 4.086 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002774/0.3905, allocations: 233.9 kB / 0.717 GB, free: 3.852 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.63e-05/0.3905, allocations: 25.7 kB / 0.7171 GB, free: 3.82 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001795/0.3907, allocations: 208.4 kB / 0.7173 GB, free: 3.613 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.764e-05/0.3908, allocations: 51.53 kB / 0.7173 GB, free: 3.562 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.47e-05/0.3909, allocations: 41.7 kB / 0.7174 GB, free: 3.516 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001977/0.3911, allocations: 334.8 kB / 0.7177 GB, free: 3.18 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002189/0.3913, allocations: 91.89 kB / 0.7178 GB, free: 3.09 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003337/0.3916, allocations: 230.8 kB / 0.718 GB, free: 2.828 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005039/0.3921, allocations: 230.2 kB / 0.7182 GB, free: 2.586 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.3921, allocations: 4 kB / 0.7182 GB, free: 2.582 MB / 0.5261 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006815/0.3928, allocations: 294.5 kB / 0.7185 GB, free: 2.289 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.3928, allocations: 8.562 kB / 0.7185 GB, free: 2.281 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.3928, allocations: 7.984 kB / 0.7185 GB, free: 2.273 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.3929, allocations: 0 / 0.7185 GB, free: 2.273 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002338/0.3931, allocations: 39.92 kB / 0.7185 GB, free: 2.234 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.3931, allocations: 4.188 kB / 0.7186 GB, free: 2.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001912/0.3933, allocations: 27.88 kB / 0.7186 GB, free: 2.203 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.675e-05/0.3933, allocations: 8.547 kB / 0.7186 GB, free: 2.195 MB / 0.5261 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.0001878/0.3935, allocations: 157.8 kB / 0.7187 GB, free: 2.031 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.3936, allocations: 27.8 kB / 0.7188 GB, free: 2.004 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007735/0.3944, allocations: 313.3 kB / 0.7191 GB, free: 1.699 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.3944, allocations: 4 kB / 0.7191 GB, free: 1.695 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3944, allocations: 7 kB / 0.7191 GB, free: 1.691 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.3944, allocations: 0 / 0.7191 GB, free: 1.691 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001448/0.3959, allocations: 0.7109 MB / 0.7198 GB, free: 0.9219 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.3959, allocations: 4 kB / 0.7198 GB, free: 0.918 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001946/0.3961, allocations: 40.14 kB / 0.7198 GB, free: 0.8789 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.286e-06/0.3961, allocations: 4 kB / 0.7198 GB, free: 0.875 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.848e-05/0.3961, allocations: 4 kB / 0.7198 GB, free: 0.8711 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.873e-06/0.3961, allocations: 7.984 kB / 0.7198 GB, free: 0.8633 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.3961, allocations: 0 / 0.7198 GB, free: 0.8633 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007327/0.3968, allocations: 413.9 kB / 0.7202 GB, free: 432 kB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.397, allocations: 47.83 kB / 0.7203 GB, free: 384 kB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.578e-05/0.397, allocations: 4 kB / 0.7203 GB, free: 380 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000237/0.3972, allocations: 19.98 kB / 0.7203 GB, free: 360 kB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.727e-05/0.3973, allocations: 19.91 kB / 0.7203 GB, free: 340 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-05/0.3973, allocations: 12 kB / 0.7203 GB, free: 328 kB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001725/0.3975, allocations: 165.2 kB / 0.7205 GB, free: 164 kB / 0.5261 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3975, allocations: 0 / 0.7205 GB, free: 164 kB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005658/0.3981, allocations: 135.6 kB / 0.7206 GB, free: 28 kB / 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 (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.0005231/0.3986, allocations: 218.9 kB / 0.7208 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0005515/0.3992, allocations: 221.2 kB / 0.721 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.123e-06/0.3992, allocations: 0 / 0.721 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0004818/0.3996, allocations: 111.8 kB / 0.7211 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007253/0.4004, allocations: 119.3 kB / 0.7212 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.4016, allocations: 0.591 MB / 0.7218 GB, free: 14.74 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002103/0.4018, allocations: 184.7 kB / 0.722 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0002502/0.4021, allocations: 75.05 kB / 0.7221 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.644e-05/0.4022, allocations: 28.5 kB / 0.7221 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of SimCode: time 7.71e-07/0.4022, allocations: 0 / 0.7221 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of Templates: time 0.01313/0.4153, allocations: 6.083 MB / 0.728 GB, free: 8.516 MB / 0.5417 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.137345126015134]