Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(IBPSA.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001656/0.001656, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5424/0.5424, allocations: 90.91 MB / 99.35 MB, free: 2.191 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 221.5 MB / 343.2 MB, free: 1.531 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008972/0.0008972, allocations: 91.88 kB / 415.9 MB, free: 11.1 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.644e-05/2.646e-05, allocations: 6.969 kB / 494.5 MB, free: 52.4 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1644, allocations: 72.31 MB / 0.5535 GB, free: 12.27 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.737/4.902, allocations: 1.822 GB / 2.375 GB, free: 82.61 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002749/4.902, allocations: 86.14 kB / 2.375 GB, free: 82.57 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.9963/5.899, allocations: 302.8 MB / 2.671 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.795e-06/5.899, allocations: 0 / 2.671 GB, free: 13 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.334e-05/5.899, allocations: 12 kB / 2.671 GB, free: 12.99 MB / 0.6042 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.001992/5.901, allocations: 0.7129 MB / 2.672 GB, free: 12.23 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/5.901, allocations: 12.03 kB / 2.672 GB, free: 12.22 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001018/5.902, allocations: 127.4 kB / 2.672 GB, free: 12.09 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005381/5.902, allocations: 345.8 kB / 2.672 GB, free: 11.71 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.736e-05/5.902, allocations: 42.25 kB / 2.672 GB, free: 11.67 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.075e-05/5.902, allocations: 16 kB / 2.672 GB, free: 11.65 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003476/5.903, allocations: 201.1 kB / 2.672 GB, free: 11.46 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004344/5.903, allocations: 293.1 kB / 2.673 GB, free: 11.15 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/5.903, allocations: 3.984 kB / 2.673 GB, free: 11.14 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.05e-05/5.903, allocations: 4 kB / 2.673 GB, free: 11.14 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/5.903, allocations: 8 kB / 2.673 GB, free: 11.13 MB / 0.6042 GB Warning: The model contains alias variables with conflicting start and/or 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.001444/5.905, allocations: 1.39 MB / 2.674 GB, free: 9.625 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002521/5.905, allocations: 158.5 kB / 2.674 GB, free: 9.461 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001176/5.905, allocations: 92.81 kB / 2.674 GB, free: 9.367 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007831/5.906, allocations: 0.4975 MB / 2.675 GB, free: 8.777 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/5.906, allocations: 34.56 kB / 2.675 GB, free: 8.734 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 1.302e-06/5.906, allocations: 4 kB / 2.675 GB, free: 8.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.0008436/5.907, allocations: 275.5 kB / 2.675 GB, free: 8.457 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.489e-05/5.907, allocations: 55.41 kB / 2.675 GB, free: 8.391 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/5.907, allocations: 186.1 kB / 2.675 GB, free: 8.207 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/5.907, allocations: 25.7 kB / 2.675 GB, free: 8.176 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/5.907, allocations: 199.9 kB / 2.676 GB, free: 7.977 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.251e-05/5.907, allocations: 55.28 kB / 2.676 GB, free: 7.922 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.267e-05/5.907, allocations: 0 / 2.676 GB, free: 7.922 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.293e-05/5.907, allocations: 335.3 kB / 2.676 GB, free: 7.586 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.372e-05/5.907, allocations: 67.95 kB / 2.676 GB, free: 7.52 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/5.908, allocations: 123.7 kB / 2.676 GB, free: 7.371 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003777/5.908, allocations: 129 kB / 2.676 GB, free: 7.246 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/5.908, allocations: 0 / 2.676 GB, free: 7.246 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005936/5.909, allocations: 276.2 kB / 2.676 GB, free: 6.973 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/5.909, allocations: 8.141 kB / 2.676 GB, free: 6.965 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/5.909, allocations: 4 kB / 2.676 GB, free: 6.961 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.218e-05/5.909, allocations: 4 kB / 2.676 GB, free: 6.957 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002221/5.909, allocations: 47.91 kB / 2.677 GB, free: 6.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/5.909, allocations: 0 / 2.677 GB, free: 6.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002054/5.909, allocations: 27.83 kB / 2.677 GB, free: 6.883 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.194e-05/5.909, allocations: 19.98 kB / 2.677 GB, free: 6.863 MB / 0.6042 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.533e-05/5.909, allocations: 112.9 kB / 2.677 GB, free: 6.746 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.451e-05/5.909, allocations: 23.72 kB / 2.677 GB, free: 6.723 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005887/5.91, allocations: 279.5 kB / 2.677 GB, free: 6.438 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/5.91, allocations: 0 / 2.677 GB, free: 6.438 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/5.91, allocations: 3.984 kB / 2.677 GB, free: 6.434 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/5.91, allocations: 0 / 2.677 GB, free: 6.434 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001613/5.912, allocations: 1.234 MB / 2.678 GB, free: 5.047 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/5.912, allocations: 4 kB / 2.678 GB, free: 5.043 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001755/5.912, allocations: 39.92 kB / 2.678 GB, free: 5.004 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/5.912, allocations: 4 kB / 2.678 GB, free: 5 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.879e-05/5.912, allocations: 16.33 kB / 2.678 GB, free: 4.984 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/5.912, allocations: 4 kB / 2.678 GB, free: 4.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/5.912, allocations: 7.938 kB / 2.678 GB, free: 4.973 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005739/5.912, allocations: 0.5149 MB / 2.679 GB, free: 4.34 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/5.913, allocations: 128.8 kB / 2.679 GB, free: 4.195 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.907e-05/5.913, allocations: 0 / 2.679 GB, free: 4.195 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002618/5.913, allocations: 35.88 kB / 2.679 GB, free: 4.16 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.991e-05/5.913, allocations: 15.94 kB / 2.679 GB, free: 4.145 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.541e-05/5.913, allocations: 15.98 kB / 2.679 GB, free: 4.129 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 9.963e-05/5.913, allocations: 154 kB / 2.679 GB, free: 3.977 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7.02e-07/5.913, allocations: 0 / 2.679 GB, free: 3.977 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0009127/5.914, allocations: 199.7 kB / 2.679 GB, free: 3.781 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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 (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.002237/5.916, allocations: 1.391 MB / 2.681 GB, free: 2.359 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003458/5.917, allocations: 171.7 kB / 2.681 GB, free: 2.191 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/5.917, allocations: 384 / 2.681 GB, free: 2.191 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001323/5.917, allocations: 95.83 kB / 2.681 GB, free: 2.098 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006399/5.917, allocations: 105.1 kB / 2.681 GB, free: 1.996 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00089/5.918, allocations: 408.8 kB / 2.681 GB, free: 1.539 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/5.919, allocations: 0.7951 MB / 2.682 GB, free: 0.7188 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002523/5.919, allocations: 61.98 kB / 2.682 GB, free: 0.6562 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.787e-05/5.919, allocations: 23.44 kB / 2.682 GB, free: 0.6328 MB / 0.6042 GB Notification: Performance of SimCode: time 2.41e-07/5.919, allocations: 0 / 2.682 GB, free: 0.6328 MB / 0.6042 GB Notification: Performance of Templates: time 0.4434/6.362, allocations: 11.78 MB / 2.694 GB, free: 104.7 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)