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.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001855/0.001855, allocations: 105.6 kB / 16.41 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002026/0.002026, allocations: 189.6 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.0021/0.0021, allocations: 284.7 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9412/0.9412, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 95.86 kB / 0.6821 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4989/0.501, allocations: 86.97 MB / 0.7671 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1703/0.6713, allocations: 169.4 MB / 0.9325 GB, free: 9.836 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.008145/0.6795, allocations: 7.137 MB / 0.9395 GB, free: 2.684 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005022/0.68, allocations: 11.94 kB / 0.9395 GB, free: 2.672 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0005709/0.6806, allocations: 166.8 kB / 0.9397 GB, free: 2.508 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.003614/0.6843, allocations: 1.268 MB / 0.9409 GB, free: 1.234 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001673/0.686, allocations: 0.6319 MB / 0.9415 GB, free: 0.6055 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0009304/0.6869, allocations: 0.7563 MB / 0.9422 GB, free: 15.85 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004504/0.6874, allocations: 301.3 kB / 0.9425 GB, free: 15.56 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001154/0.6885, allocations: 0.5643 MB / 0.9431 GB, free: 14.99 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000796/0.6893, allocations: 430.5 kB / 0.9435 GB, free: 14.57 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.507e-05/0.6894, allocations: 24 kB / 0.9435 GB, free: 14.55 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002176/0.6916, allocations: 1.247 MB / 0.9447 GB, free: 13.3 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001271/0.6917, allocations: 119.7 kB / 0.9449 GB, free: 13.18 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000168/0.6919, allocations: 175.1 kB / 0.945 GB, free: 13.01 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00138/0.6933, allocations: 0.9155 MB / 0.9459 GB, free: 12.09 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.6933, allocations: 0 / 0.9459 GB, free: 12.09 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6933, allocations: 0 / 0.9459 GB, free: 12.09 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.6933, allocations: 0 / 0.9459 GB, free: 12.09 MB / 0.7169 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.0009801/0.6943, allocations: 0.6935 MB / 0.9466 GB, free: 11.35 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.6943, allocations: 12.03 kB / 0.9466 GB, free: 11.34 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001024/0.6954, allocations: 127.4 kB / 0.9467 GB, free: 11.21 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005155/0.6959, allocations: 345 kB / 0.9471 GB, free: 10.84 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.319e-05/0.696, allocations: 50.27 kB / 0.9471 GB, free: 10.78 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.484e-05/0.696, allocations: 27.98 kB / 0.9471 GB, free: 10.75 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00061/0.6967, allocations: 370.1 kB / 0.9475 GB, free: 10.37 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.6967, allocations: 4 kB / 0.9475 GB, free: 10.37 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.181e-05/0.6967, allocations: 8 kB / 0.9475 GB, free: 10.36 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.6967, allocations: 8 kB / 0.9475 GB, free: 10.35 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005228/0.6973, allocations: 278 kB / 0.9478 GB, free: 10.08 MB / 0.7169 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.001761/0.699, allocations: 1.484 MB / 0.9492 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00038/0.6994, allocations: 194.5 kB / 0.9494 GB, free: 8.27 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002042/0.6996, allocations: 124.8 kB / 0.9495 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009204/0.7006, allocations: 0.5014 MB / 0.95 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.7006, allocations: 34.56 kB / 0.95 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.853e-06/0.7006, allocations: 0 / 0.95 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0009235/0.7015, allocations: 353.1 kB / 0.9504 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.7016, allocations: 59.41 kB / 0.9504 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003006/0.7019, allocations: 320.4 kB / 0.9507 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.068e-05/0.7019, allocations: 33.64 kB / 0.9508 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/0.7021, allocations: 184.1 kB / 0.9509 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.981e-05/0.7021, allocations: 51.27 kB / 0.951 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.141e-05/0.7022, allocations: 41.7 kB / 0.951 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.7023, allocations: 338.8 kB / 0.9514 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001888/0.7025, allocations: 91.86 kB / 0.9514 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002206/0.7028, allocations: 144.7 kB / 0.9516 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004022/0.7032, allocations: 243.4 kB / 0.9518 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.7032, allocations: 4 kB / 0.9518 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005562/0.7038, allocations: 287.4 kB / 0.9521 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.7038, allocations: 8 kB / 0.9521 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.7038, allocations: 0 / 0.9521 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.7038, allocations: 4 kB / 0.9521 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002399/0.7041, allocations: 47.91 kB / 0.9522 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.7041, allocations: 0 / 0.9522 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002193/0.7043, allocations: 31.67 kB / 0.9522 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.543e-05/0.7043, allocations: 16.19 kB / 0.9522 GB, free: 5.203 MB / 0.7169 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.0001603/0.7045, allocations: 156.1 kB / 0.9523 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.7046, allocations: 27.62 kB / 0.9524 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006716/0.7053, allocations: 308.2 kB / 0.9527 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.7053, allocations: 0 / 0.9527 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.7053, allocations: 0 / 0.9527 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.7053, allocations: 7.984 kB / 0.9527 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001264/0.7066, allocations: 0.8084 MB / 0.9535 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.7066, allocations: 4 kB / 0.9535 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001838/0.7068, allocations: 35.91 kB / 0.9535 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.76e-06/0.7068, allocations: 4 kB / 0.9535 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.174e-05/0.7069, allocations: 11.94 kB / 0.9535 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.7069, allocations: 4 kB / 0.9535 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.7069, allocations: 0 / 0.9535 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00057/0.7074, allocations: 397.1 kB / 0.9539 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001385/0.7076, allocations: 140.7 kB / 0.954 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.664e-05/0.7076, allocations: 7.938 kB / 0.954 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002371/0.7079, allocations: 15.98 kB / 0.9541 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.002e-05/0.708, allocations: 20.02 kB / 0.9541 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.732e-05/0.708, allocations: 15.92 kB / 0.9541 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002073/0.7082, allocations: 227 kB / 0.9543 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7082, allocations: 0 / 0.9543 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0005132/0.7087, allocations: 119.8 kB / 0.9544 GB, free: 2.773 MB / 0.7169 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.0006196/0.7094, allocations: 240 kB / 0.9547 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004926/0.7099, allocations: 232 kB / 0.9549 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.7099, allocations: 0 / 0.9549 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002156/0.7101, allocations: 115.8 kB / 0.955 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008115/0.7109, allocations: 158.2 kB / 0.9551 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.712, allocations: 0.6338 MB / 0.9558 GB, free: 1.355 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/0.7124, allocations: 0.7795 MB / 0.9565 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.7125, allocations: 31.44 kB / 0.9565 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of SimCode: time 7.11e-07/0.7125, allocations: 0 / 0.9565 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of Templates: time 0.373/1.085, allocations: 6.314 MB / 0.9627 GB, free: 190.1 MB / 0.7169 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)