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/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8512/0.8512, allocations: 143.4 MB / 159.2 MB, free: 4.93 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 184.5 kB / 191.9 MB, free: 5.715 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 222.9 MB / 447.3 MB, free: 5.848 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009657/0.0009656, allocations: 115.6 kB / 0.517 GB, free: 3.684 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002157/0.002158, allocations: 276 kB / 0.5973 GB, free: 49.35 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001497, allocations: 87.88 kB / 0.6885 GB, free: 3.809 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.3145, allocations: 81.3 MB / 0.7679 GB, free: 27.64 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate): time 0.5318/0.8464, allocations: 167.2 MB / 0.9312 GB, free: 388 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.007106/0.8536, allocations: 7.215 MB / 0.9382 GB, free: 196 kB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005866/0.8542, allocations: 12.38 kB / 0.9383 GB, free: 196 kB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0005223/0.8547, allocations: 134.6 kB / 0.9384 GB, free: 192 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.003062/0.8578, allocations: 1.19 MB / 0.9395 GB, free: 128 kB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001523/0.8594, allocations: 0.5751 MB / 0.9401 GB, free: 100 kB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001255/0.8606, allocations: 1.054 MB / 0.9411 GB, free: 96 kB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005091/0.8612, allocations: 247.9 kB / 0.9414 GB, free: 68 kB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001318/0.8625, allocations: 0.529 MB / 0.9419 GB, free: 60 kB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008075/0.8633, allocations: 439.5 kB / 0.9423 GB, free: 44 kB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 4.676e-05/0.8634, allocations: 17.97 kB / 0.9423 GB, free: 44 kB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002424/0.8658, allocations: 1.468 MB / 0.9438 GB, free: 32 kB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001322/0.8659, allocations: 109.3 kB / 0.9439 GB, free: 28 kB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001923/0.8661, allocations: 175.3 kB / 0.944 GB, free: 28 kB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001459/0.8676, allocations: 0.9798 MB / 0.945 GB, free: 15.98 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.8676, allocations: 0 / 0.945 GB, free: 15.98 MB / 0.573 GB Notification: Performance of FrontEnd: time 9.92e-07/0.8676, allocations: 0 / 0.945 GB, free: 15.98 MB / 0.573 GB Notification: Performance of Transformations before backend: time 6.633e-06/0.8676, allocations: 0 / 0.945 GB, free: 15.98 MB / 0.573 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.0009609/0.8686, allocations: 0.6899 MB / 0.9457 GB, free: 15.48 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.8687, allocations: 8.688 kB / 0.9457 GB, free: 15.48 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008943/0.8696, allocations: 131.2 kB / 0.9458 GB, free: 15.46 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004068/0.87, allocations: 331.8 kB / 0.9461 GB, free: 15.22 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.14e-05/0.8701, allocations: 52.58 kB / 0.9462 GB, free: 15.19 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.806e-05/0.8701, allocations: 24.09 kB / 0.9462 GB, free: 15.19 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005591/0.8707, allocations: 367.3 kB / 0.9465 GB, free: 15.12 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.8707, allocations: 4 kB / 0.9465 GB, free: 15.11 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.821e-05/0.8707, allocations: 12.5 kB / 0.9466 GB, free: 15.11 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.8707, allocations: 8.531 kB / 0.9466 GB, free: 15.11 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004564/0.8712, allocations: 271.2 kB / 0.9468 GB, free: 15.11 MB / 0.573 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.001664/0.8729, allocations: 1.492 MB / 0.9483 GB, free: 14.13 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003669/0.8733, allocations: 192.8 kB / 0.9485 GB, free: 14.1 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001886/0.8735, allocations: 120.8 kB / 0.9486 GB, free: 14.09 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009215/0.8744, allocations: 0.5071 MB / 0.9491 GB, free: 13.62 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.8744, allocations: 36.28 kB / 0.9491 GB, free: 13.58 MB / 0.573 GB Notification: Performance of pre-optimization done (n=15): time 1.913e-06/0.8744, allocations: 0 / 0.9491 GB, free: 13.58 MB / 0.573 GB Notification: Performance of matching and sorting (n=15): time 0.0008228/0.8753, allocations: 355.7 kB / 0.9494 GB, free: 13.53 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.8753, allocations: 57.94 kB / 0.9495 GB, free: 13.46 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00026/0.8756, allocations: 317.3 kB / 0.9498 GB, free: 13.36 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/0.8756, allocations: 30.66 kB / 0.9498 GB, free: 13.32 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.8757, allocations: 184.8 kB / 0.95 GB, free: 13.21 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 4.029e-05/0.8758, allocations: 49.28 kB / 0.9501 GB, free: 13.18 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.798e-05/0.8758, allocations: 41.91 kB / 0.9501 GB, free: 13.17 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 9.905e-05/0.8759, allocations: 341.6 kB / 0.9504 GB, free: 12.86 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000172/0.8761, allocations: 91.98 kB / 0.9505 GB, free: 12.85 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002059/0.8763, allocations: 144.7 kB / 0.9506 GB, free: 12.79 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003611/0.8767, allocations: 237.6 kB / 0.9509 GB, free: 12.73 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.8767, allocations: 3.938 kB / 0.9509 GB, free: 12.73 MB / 0.573 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005153/0.8772, allocations: 291.7 kB / 0.9512 GB, free: 12.68 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.8773, allocations: 5.281 kB / 0.9512 GB, free: 12.68 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.8773, allocations: 7.031 kB / 0.9512 GB, free: 12.68 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.8773, allocations: 0 / 0.9512 GB, free: 12.68 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002054/0.8775, allocations: 46.42 kB / 0.9512 GB, free: 12.68 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.8775, allocations: 0 / 0.9512 GB, free: 12.68 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002239/0.8777, allocations: 42.3 kB / 0.9513 GB, free: 12.66 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.186e-05/0.8778, allocations: 10.72 kB / 0.9513 GB, free: 12.66 MB / 0.573 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.0001264/0.8779, allocations: 155.4 kB / 0.9514 GB, free: 12.54 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.714e-05/0.878, allocations: 27.25 kB / 0.9514 GB, free: 12.53 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006396/0.8787, allocations: 319.1 kB / 0.9517 GB, free: 12.47 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.8787, allocations: 3.094 kB / 0.9517 GB, free: 12.47 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.8787, allocations: 1.203 kB / 0.9517 GB, free: 12.47 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.8787, allocations: 2.953 kB / 0.9517 GB, free: 12.47 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001187/0.8799, allocations: 0.8035 MB / 0.9525 GB, free: 12.11 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.8799, allocations: 3.594 kB / 0.9525 GB, free: 12.11 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001661/0.8801, allocations: 34.03 kB / 0.9526 GB, free: 12.11 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.8801, allocations: 2.344 kB / 0.9526 GB, free: 12.11 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.202e-05/0.8801, allocations: 15.66 kB / 0.9526 GB, free: 12.1 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.8801, allocations: 3.562 kB / 0.9526 GB, free: 12.1 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.8801, allocations: 224 / 0.9526 GB, free: 12.1 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009884/0.8811, allocations: 1.12 MB / 0.9537 GB, free: 11.3 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001417/0.8813, allocations: 133.2 kB / 0.9538 GB, free: 11.2 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.955e-05/0.8813, allocations: 3.375 kB / 0.9538 GB, free: 11.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002497/0.8816, allocations: 26.56 kB / 0.9538 GB, free: 11.19 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.675e-05/0.8817, allocations: 17.12 kB / 0.9539 GB, free: 11.19 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.651e-05/0.8817, allocations: 12.41 kB / 0.9539 GB, free: 11.19 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0001733/0.8819, allocations: 226.5 kB / 0.9541 GB, free: 11.11 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8819, allocations: 2.531 kB / 0.9541 GB, free: 11.11 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0006008/0.8825, allocations: 125.7 kB / 0.9542 GB, free: 11.09 MB / 0.573 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.0005445/0.883, allocations: 239.8 kB / 0.9544 GB, free: 10.96 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0004428/0.8835, allocations: 221.8 kB / 0.9546 GB, free: 10.96 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.8835, allocations: 0 / 0.9546 GB, free: 10.96 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002079/0.8837, allocations: 118.4 kB / 0.9548 GB, free: 10.96 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000839/0.8846, allocations: 143.5 kB / 0.9549 GB, free: 10.95 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/0.8857, allocations: 0.8542 MB / 0.9557 GB, free: 10.41 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.886, allocations: 0.7926 MB / 0.9565 GB, free: 9.703 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.000285/0.8863, allocations: 93.72 kB / 0.9566 GB, free: 9.672 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.762e-05/0.8864, allocations: 30.69 kB / 0.9566 GB, free: 9.664 MB / 0.573 GB Notification: Performance of SimCode: time 2.6e-07/0.8864, allocations: 0 / 0.9566 GB, free: 9.664 MB / 0.573 GB Notification: Performance of Templates: time 0.0113/0.8977, allocations: 7.154 MB / 0.9636 GB, free: 7.664 MB / 0.573 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate.makefile (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)