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.8026/0.8026, allocations: 143.4 MB / 158.3 MB, free: 5.793 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.001229/0.001229, allocations: 185 kB / 191.5 MB, free: 5.766 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.541/1.541, allocations: 223.2 MB / 447.7 MB, free: 6.539 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.0009256/0.0009256, allocations: 100.2 kB / 0.5188 GB, free: 2.883 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001652/0.001652, allocations: 283.6 kB / 0.6005 GB, free: 48.99 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000414/0.000414, allocations: 12 kB / 0.6929 GB, free: 2.324 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3855/0.3859, allocations: 82.78 MB / 0.7737 GB, free: 26.23 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.101/4.487, allocations: 1.829 GB / 2.603 GB, free: 197 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002305/4.487, allocations: 91.83 kB / 2.603 GB, free: 196.9 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.9629/5.45, allocations: 306.8 MB / 2.903 GB, free: 162.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.833e-06/5.45, allocations: 4 kB / 2.903 GB, free: 162.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.878e-05/5.45, allocations: 12 kB / 2.903 GB, free: 162.1 MB / 0.698 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.001374/5.451, allocations: 0.753 MB / 2.903 GB, free: 161.3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/5.451, allocations: 12.03 kB / 2.903 GB, free: 161.3 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001043/5.452, allocations: 121.9 kB / 2.904 GB, free: 161.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004558/5.453, allocations: 341.8 kB / 2.904 GB, free: 160.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.64e-05/5.453, allocations: 54.25 kB / 2.904 GB, free: 160.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.958e-05/5.453, allocations: 25.72 kB / 2.904 GB, free: 160.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005349/5.454, allocations: 366.1 kB / 2.904 GB, free: 160.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/5.454, allocations: 0 / 2.904 GB, free: 160.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.989e-05/5.454, allocations: 12 kB / 2.904 GB, free: 160.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/5.454, allocations: 8 kB / 2.904 GB, free: 160.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004213/5.454, allocations: 266 kB / 2.905 GB, free: 160.1 MB / 0.698 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.001375/5.455, allocations: 1.472 MB / 2.906 GB, free: 158.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003335/5.456, allocations: 190.5 kB / 2.906 GB, free: 158.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000744/5.457, allocations: 0.5052 MB / 2.907 GB, free: 157.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/5.457, allocations: 34.56 kB / 2.907 GB, free: 157.6 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 1.824e-06/5.457, allocations: 0 / 2.907 GB, free: 157.6 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.0008166/5.457, allocations: 355.7 kB / 2.907 GB, free: 157.3 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/5.457, allocations: 55.41 kB / 2.907 GB, free: 157.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000213/5.458, allocations: 279.6 kB / 2.907 GB, free: 156.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/5.458, allocations: 29.7 kB / 2.907 GB, free: 156.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.333e-05/5.458, allocations: 184.1 kB / 2.908 GB, free: 156.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.175e-05/5.458, allocations: 51.25 kB / 2.908 GB, free: 156.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.152e-05/5.458, allocations: 8 kB / 2.908 GB, free: 156.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.491e-05/5.458, allocations: 338.8 kB / 2.908 GB, free: 156.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001582/5.458, allocations: 87.92 kB / 2.908 GB, free: 156.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001841/5.458, allocations: 159.5 kB / 2.908 GB, free: 156 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001714/5.458, allocations: 103.9 kB / 2.908 GB, free: 155.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/5.458, allocations: 4 kB / 2.908 GB, free: 155.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004807/5.459, allocations: 285.1 kB / 2.909 GB, free: 155.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/5.459, allocations: 8.656 kB / 2.909 GB, free: 155.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/5.459, allocations: 3.938 kB / 2.909 GB, free: 155.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/5.459, allocations: 4 kB / 2.909 GB, free: 155.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000225/5.459, allocations: 43.97 kB / 2.909 GB, free: 155.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/5.459, allocations: 3.938 kB / 2.909 GB, free: 155.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002343/5.46, allocations: 43.77 kB / 2.909 GB, free: 155.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.602e-05/5.46, allocations: 11.98 kB / 2.909 GB, free: 155.5 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001232/5.46, allocations: 157.8 kB / 2.909 GB, free: 155.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.834e-05/5.46, allocations: 27.62 kB / 2.909 GB, free: 155.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006145/5.46, allocations: 320.3 kB / 2.909 GB, free: 155 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/5.46, allocations: 3.938 kB / 2.909 GB, free: 155 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/5.46, allocations: 4 kB / 2.909 GB, free: 155 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/5.46, allocations: 4 kB / 2.909 GB, free: 155 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001042/5.461, allocations: 0.7927 MB / 2.91 GB, free: 154.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/5.461, allocations: 4 kB / 2.91 GB, free: 154.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001786/5.462, allocations: 39.97 kB / 2.91 GB, free: 154.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/5.462, allocations: 4 kB / 2.91 GB, free: 154.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.766e-05/5.462, allocations: 4 kB / 2.91 GB, free: 154.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/5.462, allocations: 4.156 kB / 2.91 GB, free: 154.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/5.462, allocations: 8 kB / 2.91 GB, free: 154.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004806/5.462, allocations: 491.1 kB / 2.911 GB, free: 153.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/5.462, allocations: 132.7 kB / 2.911 GB, free: 153.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.947e-05/5.462, allocations: 8 kB / 2.911 GB, free: 153.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002654/5.463, allocations: 35.92 kB / 2.911 GB, free: 153.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.884e-05/5.463, allocations: 11.98 kB / 2.911 GB, free: 153.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.232e-05/5.463, allocations: 15.98 kB / 2.911 GB, free: 153.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001546/5.463, allocations: 219.1 kB / 2.911 GB, free: 153.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.41e-07/5.463, allocations: 0 / 2.911 GB, free: 153.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008666/5.464, allocations: 231.7 kB / 2.911 GB, free: 152.9 MB / 0.698 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 (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.001528/5.465, allocations: 1.248 MB / 2.912 GB, free: 151.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004267/5.466, allocations: 215.7 kB / 2.913 GB, free: 151.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/5.466, allocations: 384 / 2.913 GB, free: 151.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001827/5.466, allocations: 119.8 kB / 2.913 GB, free: 151.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006779/5.467, allocations: 143.9 kB / 2.913 GB, free: 151.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008741/5.468, allocations: 0.6944 MB / 2.914 GB, free: 150.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001873/5.468, allocations: 0.7953 MB / 2.914 GB, free: 149.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002761/5.468, allocations: 86.98 kB / 2.914 GB, free: 149.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.976e-05/5.468, allocations: 27.44 kB / 2.914 GB, free: 149.4 MB / 0.698 GB Notification: Performance of SimCode: time 3.71e-07/5.468, allocations: 0 / 2.914 GB, free: 149.4 MB / 0.698 GB Notification: Performance of Templates: time 0.02369/5.492, allocations: 21.1 MB / 2.935 GB, free: 128.4 MB / 0.698 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)