Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.13/2.13, allocations: 251.1 MB / 266.7 MB, free: 11.57 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002068/0.002068, allocations: 181.6 kB / 326.2 MB, free: 2.859 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.5/2.5, allocations: 205.4 MB / 0.5772 GB, free: 20.78 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001775/0.001774, allocations: 99.73 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000474/0.0004743, allocations: 16.06 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2023/0.2028, allocations: 106.3 MB / 0.8995 GB, free: 65.55 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.386/6.589, allocations: 2.182 GB / 3.081 GB, free: 4.633 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003215/6.589, allocations: 96.12 kB / 3.081 GB, free: 4.582 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.554/8.143, allocations: 294.2 MB / 3.369 GB, free: 75.83 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.864e-06/8.143, allocations: 0 / 3.369 GB, free: 75.83 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.51e-05/8.143, allocations: 12.19 kB / 3.369 GB, free: 75.82 MB / 0.8855 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.001829/8.145, allocations: 0.7641 MB / 3.369 GB, free: 75 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/8.145, allocations: 8.031 kB / 3.369 GB, free: 75 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001531/8.146, allocations: 120.3 kB / 3.369 GB, free: 74.88 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007207/8.147, allocations: 363.2 kB / 3.37 GB, free: 74.48 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9e-05/8.147, allocations: 50.83 kB / 3.37 GB, free: 74.43 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.366e-05/8.147, allocations: 28.38 kB / 3.37 GB, free: 74.4 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009015/8.148, allocations: 317.1 kB / 3.37 GB, free: 74.08 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/8.148, allocations: 0 / 3.37 GB, free: 74.08 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.005e-05/8.148, allocations: 8 kB / 3.37 GB, free: 74.07 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/8.148, allocations: 15.94 kB / 3.37 GB, free: 74.06 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008467/8.149, allocations: 282.1 kB / 3.37 GB, free: 73.79 MB / 0.8855 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.002119/8.151, allocations: 1.082 MB / 3.371 GB, free: 72.61 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008314/8.152, allocations: 254.5 kB / 3.372 GB, free: 72.36 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003726/8.152, allocations: 136.8 kB / 3.372 GB, free: 72.22 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001202/8.154, allocations: 0.5014 MB / 3.372 GB, free: 71.62 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/8.154, allocations: 34.56 kB / 3.372 GB, free: 71.58 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=21): time 2.484e-06/8.154, allocations: 0 / 3.372 GB, free: 71.58 MB / 0.8855 GB Notification: Performance of matching and sorting (n=21): time 0.001567/8.155, allocations: 421 kB / 3.373 GB, free: 71.16 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/8.155, allocations: 55.34 kB / 3.373 GB, free: 71.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003881/8.156, allocations: 304.6 kB / 3.373 GB, free: 70.79 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.204e-05/8.156, allocations: 33.7 kB / 3.373 GB, free: 70.75 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/8.156, allocations: 168.4 kB / 3.373 GB, free: 70.58 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 8.654e-05/8.156, allocations: 74.94 kB / 3.373 GB, free: 70.51 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.159e-05/8.156, allocations: 4 kB / 3.373 GB, free: 70.5 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.096e-05/8.156, allocations: 342.8 kB / 3.374 GB, free: 70.16 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003343/8.156, allocations: 99.92 kB / 3.374 GB, free: 70.06 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003871/8.157, allocations: 152.2 kB / 3.374 GB, free: 69.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000361/8.157, allocations: 121 kB / 3.374 GB, free: 69.78 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/8.157, allocations: 0 / 3.374 GB, free: 69.78 MB / 0.8855 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0009189/8.158, allocations: 306 kB / 3.374 GB, free: 69.48 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/8.158, allocations: 11.94 kB / 3.374 GB, free: 69.46 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/8.158, allocations: 4.062 kB / 3.374 GB, free: 69.46 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/8.158, allocations: 0 / 3.374 GB, free: 69.46 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004269/8.159, allocations: 51.97 kB / 3.374 GB, free: 69.41 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.607e-06/8.159, allocations: 0 / 3.374 GB, free: 69.41 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004118/8.159, allocations: 39.67 kB / 3.374 GB, free: 69.37 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.597e-05/8.159, allocations: 20.05 kB / 3.374 GB, free: 69.35 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001984/8.159, allocations: 157.8 kB / 3.375 GB, free: 69.19 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/8.16, allocations: 35.5 kB / 3.375 GB, free: 69.15 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0012/8.161, allocations: 360.4 kB / 3.375 GB, free: 68.8 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/8.161, allocations: 7.938 kB / 3.375 GB, free: 68.79 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/8.161, allocations: 0 / 3.375 GB, free: 68.79 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/8.161, allocations: 3.984 kB / 3.375 GB, free: 68.79 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001906/8.163, allocations: 0.8784 MB / 3.376 GB, free: 67.83 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/8.163, allocations: 0 / 3.376 GB, free: 67.83 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000447/8.163, allocations: 51.91 kB / 3.376 GB, free: 67.78 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.713e-06/8.163, allocations: 0 / 3.376 GB, free: 67.78 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.162e-05/8.163, allocations: 8 kB / 3.376 GB, free: 67.77 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.521e-06/8.163, allocations: 4 kB / 3.376 GB, free: 67.77 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/8.163, allocations: 4 kB / 3.376 GB, free: 67.77 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001381/8.165, allocations: 0.5878 MB / 3.377 GB, free: 67.14 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002027/8.165, allocations: 152.6 kB / 3.377 GB, free: 66.97 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.237e-05/8.165, allocations: 4 kB / 3.377 GB, free: 66.97 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004881/8.166, allocations: 32.05 kB / 3.377 GB, free: 66.94 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.095e-05/8.166, allocations: 27.84 kB / 3.377 GB, free: 66.91 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-05/8.166, allocations: 8 kB / 3.377 GB, free: 66.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002632/8.166, allocations: 227 kB / 3.377 GB, free: 66.68 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.6e-07/8.166, allocations: 0 / 3.377 GB, free: 66.68 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001093/8.167, allocations: 235.8 kB / 3.377 GB, free: 66.45 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (senS_flow.s_out,senS.s) * 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 (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002107/8.169, allocations: 1.232 MB / 3.378 GB, free: 65.2 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0009043/8.17, allocations: 251.7 kB / 3.379 GB, free: 64.95 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/8.17, allocations: 7.938 kB / 3.379 GB, free: 64.94 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004044/8.171, allocations: 144.3 kB / 3.379 GB, free: 64.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001492/8.172, allocations: 158.1 kB / 3.379 GB, free: 64.65 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0017/8.174, allocations: 0.8545 MB / 3.38 GB, free: 63.75 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002764/8.174, allocations: 0.7914 MB / 3.381 GB, free: 62.93 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0004972/8.175, allocations: 86.88 kB / 3.381 GB, free: 62.84 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001615/8.175, allocations: 35.42 kB / 3.381 GB, free: 62.8 MB / 0.8855 GB Notification: Performance of SimCode: time 1.122e-06/8.175, allocations: 0 / 3.381 GB, free: 62.8 MB / 0.8855 GB Notification: Performance of Templates: time 0.04506/8.22, allocations: 21.34 MB / 3.401 GB, free: 41.52 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)