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.00117/0.00117, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 192.7 kB / 16.53 MB, free: 6.391 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.307/1.307, allocations: 222.9 MB / 240.2 MB, free: 4.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002016/0.002016, allocations: 290.8 kB / 290.7 MB, free: 2.02 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.924/0.924, allocations: 169.3 MB / 0.4982 GB, free: 13.97 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001963, allocations: 100.3 kB / 0.5952 GB, free: 27.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1492, allocations: 86.99 MB / 0.6802 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.EntropyFlowRate): time 0.4367/0.5859, allocations: 169.4 MB / 0.8456 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007451/0.5933, allocations: 7.127 MB / 0.8526 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004323/0.5938, allocations: 18.12 kB / 0.8526 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005032/0.5943, allocations: 169.7 kB / 0.8528 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002825/0.5972, allocations: 1.267 MB / 0.854 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001438/0.5986, allocations: 0.6285 MB / 0.8546 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006698/0.5993, allocations: 0.7537 MB / 0.8554 GB, free: 9.414 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000405/0.5997, allocations: 302.3 kB / 0.8556 GB, free: 9.23 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009645/0.6007, allocations: 0.5653 MB / 0.8562 GB, free: 8.883 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006937/0.6014, allocations: 424.3 kB / 0.8566 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.572e-05/0.6015, allocations: 26.06 kB / 0.8566 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001947/0.6034, allocations: 1.246 MB / 0.8578 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.6035, allocations: 107 kB / 0.8579 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001632/0.6037, allocations: 187.3 kB / 0.8581 GB, free: 7.75 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001198/0.6049, allocations: 0.8988 MB / 0.859 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.6049, allocations: 0 / 0.859 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6049, allocations: 0 / 0.859 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.605, allocations: 0 / 0.859 GB, free: 7.207 MB / 0.5762 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.0009831/0.6059, allocations: 0.7002 MB / 0.8597 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.606, allocations: 11.7 kB / 0.8597 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001068/0.6071, allocations: 127.4 kB / 0.8598 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004004/0.6075, allocations: 329.5 kB / 0.8601 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.706e-05/0.6076, allocations: 47.3 kB / 0.8602 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.924e-05/0.6076, allocations: 25.47 kB / 0.8602 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006232/0.6082, allocations: 377.2 kB / 0.8606 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.6083, allocations: 2.781 kB / 0.8606 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.237e-05/0.6083, allocations: 10.75 kB / 0.8606 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.6083, allocations: 5.031 kB / 0.8606 GB, free: 5.918 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004994/0.6088, allocations: 266.8 kB / 0.8608 GB, free: 5.793 MB / 0.5762 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.001812/0.6106, allocations: 1.495 MB / 0.8623 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004269/0.6111, allocations: 206.4 kB / 0.8625 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002043/0.6113, allocations: 119 kB / 0.8626 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00104/0.6124, allocations: 0.5032 MB / 0.8631 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.141e-05/0.6124, allocations: 32.78 kB / 0.8631 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.704e-06/0.6124, allocations: 0 / 0.8631 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0009039/0.6133, allocations: 366.7 kB / 0.8635 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.6134, allocations: 51.41 kB / 0.8635 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003324/0.6137, allocations: 318.2 kB / 0.8638 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.313e-05/0.6138, allocations: 25.7 kB / 0.8638 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/0.6139, allocations: 186.1 kB / 0.864 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.275e-05/0.614, allocations: 50.83 kB / 0.8641 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.107e-05/0.6141, allocations: 46.89 kB / 0.8641 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.6142, allocations: 342.7 kB / 0.8644 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001912/0.6144, allocations: 83.25 kB / 0.8645 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002546/0.6147, allocations: 150.3 kB / 0.8647 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004252/0.6151, allocations: 237.9 kB / 0.8649 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.6151, allocations: 3.938 kB / 0.8649 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006126/0.6158, allocations: 289.1 kB / 0.8652 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.6158, allocations: 4.312 kB / 0.8652 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.6158, allocations: 3.312 kB / 0.8652 GB, free: 2.168 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.684e-05/0.6158, allocations: 6.766 kB / 0.8652 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002516/0.6161, allocations: 41.23 kB / 0.8652 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.6161, allocations: 3.188 kB / 0.8652 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002322/0.6164, allocations: 34.17 kB / 0.8653 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.844e-05/0.6164, allocations: 7.469 kB / 0.8653 GB, free: 2.133 MB / 0.5762 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.0001869/0.6166, allocations: 161.1 kB / 0.8654 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/0.6167, allocations: 30.25 kB / 0.8655 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007197/0.6174, allocations: 315.5 kB / 0.8658 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.6174, allocations: 2.656 kB / 0.8658 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.6175, allocations: 0 / 0.8658 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.6175, allocations: 0 / 0.8658 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001369/0.6188, allocations: 0.8058 MB / 0.8665 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.6189, allocations: 1.812 kB / 0.8665 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001829/0.619, allocations: 41.59 kB / 0.8666 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.6191, allocations: 2.719 kB / 0.8666 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.148e-05/0.6191, allocations: 14.97 kB / 0.8666 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.6191, allocations: 5.719 kB / 0.8666 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.6191, allocations: 2.75 kB / 0.8666 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006112/0.6197, allocations: 402.3 kB / 0.867 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001502/0.6199, allocations: 135 kB / 0.8671 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.624e-05/0.6199, allocations: 8.625 kB / 0.8671 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002299/0.6202, allocations: 15.8 kB / 0.8671 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.286e-05/0.6202, allocations: 19.36 kB / 0.8672 GB, free: 0.6406 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.651e-05/0.6203, allocations: 11.69 kB / 0.8672 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001859/0.6205, allocations: 228.7 kB / 0.8674 GB, free: 0.4922 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6205, allocations: 0 / 0.8674 GB, free: 0.4922 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004891/0.621, allocations: 124.6 kB / 0.8675 GB, free: 472 kB / 0.5762 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.0005941/0.6216, allocations: 225.8 kB / 0.8677 GB, free: 324 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005984/0.6222, allocations: 232.5 kB / 0.8679 GB, free: 212 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.6222, allocations: 0 / 0.8679 GB, free: 212 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002334/0.6224, allocations: 115.6 kB / 0.8681 GB, free: 160 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008831/0.6233, allocations: 164.9 kB / 0.8682 GB, free: 80 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009828/0.6243, allocations: 0.5905 MB / 0.8688 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003334/0.6247, allocations: 0.7893 MB / 0.8696 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002791/0.6249, allocations: 88.95 kB / 0.8696 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.707e-05/0.625, allocations: 35.06 kB / 0.8697 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of SimCode: time 4.71e-07/0.6251, allocations: 0 / 0.8697 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of Templates: time 0.01146/0.6365, allocations: 7.301 MB / 0.8768 GB, free: 11.22 MB / 0.5919 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)