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.7973/0.7973, allocations: 141.8 MB / 149.3 MB, free: 9.207 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.00108/0.00108, allocations: 172.9 kB / 182.2 MB, free: 9.445 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.464/1.464, allocations: 221.5 MB / 436.4 MB, free: 13.33 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.0009706/0.0009704, allocations: 92.09 kB / 0.5074 GB, free: 10.15 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001792/0.001792, allocations: 279.3 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.98e-05/2.982e-05, allocations: 4 kB / 0.6765 GB, free: 12.83 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4235/0.4235, allocations: 82.78 MB / 0.7574 GB, free: 32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.581/5.005, allocations: 1.829 GB / 2.586 GB, free: 189.4 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002594/5.005, allocations: 90.42 kB / 2.586 GB, free: 189.3 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.05/6.055, allocations: 302.9 MB / 2.882 GB, free: 172.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.924e-06/6.055, allocations: 0 / 2.882 GB, free: 172.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.914e-05/6.055, allocations: 12 kB / 2.882 GB, free: 172.9 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.001755/6.056, allocations: 0.7139 MB / 2.883 GB, free: 172.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 8.05e-05/6.056, allocations: 12.03 kB / 2.883 GB, free: 172.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001348/6.058, allocations: 117.9 kB / 2.883 GB, free: 172 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006361/6.058, allocations: 344.7 kB / 2.883 GB, free: 171.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.904e-05/6.059, allocations: 46.23 kB / 2.883 GB, free: 171.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.211e-05/6.059, allocations: 17.89 kB / 2.883 GB, free: 171.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003765/6.059, allocations: 201.1 kB / 2.883 GB, free: 171.4 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004621/6.06, allocations: 297.1 kB / 2.883 GB, free: 171.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/6.06, allocations: 3.938 kB / 2.883 GB, free: 171.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.119e-05/6.06, allocations: 3.984 kB / 2.884 GB, free: 171.1 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-06/6.06, allocations: 8 kB / 2.884 GB, free: 171.1 MB / 0.698 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.001553/6.061, allocations: 1.395 MB / 2.885 GB, free: 169.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002492/6.061, allocations: 166.5 kB / 2.885 GB, free: 169.4 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/6.062, allocations: 92.81 kB / 2.885 GB, free: 169.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000813/6.062, allocations: 0.4999 MB / 2.886 GB, free: 168.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/6.062, allocations: 34.52 kB / 2.886 GB, free: 168.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 1.813e-06/6.062, allocations: 0 / 2.886 GB, free: 168.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.0009224/6.063, allocations: 269.5 kB / 2.886 GB, free: 168.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.326e-05/6.063, allocations: 55.41 kB / 2.886 GB, free: 168.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/6.064, allocations: 190.1 kB / 2.886 GB, free: 168.1 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/6.064, allocations: 29.64 kB / 2.886 GB, free: 168.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.399e-05/6.064, allocations: 196 kB / 2.886 GB, free: 167.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.4e-05/6.064, allocations: 43.27 kB / 2.886 GB, free: 167.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.189e-05/6.064, allocations: 3.938 kB / 2.886 GB, free: 167.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.213e-05/6.064, allocations: 334.8 kB / 2.887 GB, free: 167.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.911e-05/6.064, allocations: 67.95 kB / 2.887 GB, free: 167.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/6.064, allocations: 131.7 kB / 2.887 GB, free: 167.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004056/6.064, allocations: 123.9 kB / 2.887 GB, free: 167.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/6.064, allocations: 3.938 kB / 2.887 GB, free: 167.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006291/6.065, allocations: 279.4 kB / 2.887 GB, free: 166.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/6.065, allocations: 4 kB / 2.887 GB, free: 166.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/6.065, allocations: 0 / 2.887 GB, free: 166.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/6.065, allocations: 4 kB / 2.887 GB, free: 166.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002191/6.065, allocations: 52.09 kB / 2.887 GB, free: 166.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/6.065, allocations: 0 / 2.887 GB, free: 166.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002209/6.066, allocations: 27.83 kB / 2.887 GB, free: 166.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.886e-05/6.066, allocations: 15.98 kB / 2.887 GB, free: 166.8 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 () * 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 7.788e-05/6.066, allocations: 112.9 kB / 2.887 GB, free: 166.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.258e-05/6.066, allocations: 31.73 kB / 2.888 GB, free: 166.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005948/6.066, allocations: 277.1 kB / 2.888 GB, free: 166.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/6.066, allocations: 0 / 2.888 GB, free: 166.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/6.066, allocations: 0 / 2.888 GB, free: 166.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/6.066, allocations: 11.92 kB / 2.888 GB, free: 166.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001711/6.068, allocations: 1.216 MB / 2.889 GB, free: 165 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/6.068, allocations: 4 kB / 2.889 GB, free: 165 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001803/6.068, allocations: 35.92 kB / 2.889 GB, free: 165 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/6.068, allocations: 4 kB / 2.889 GB, free: 165 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.898e-05/6.068, allocations: 11.98 kB / 2.889 GB, free: 164.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/6.068, allocations: 4 kB / 2.889 GB, free: 164.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/6.068, allocations: 3.938 kB / 2.889 GB, free: 164.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000547/6.069, allocations: 0.5268 MB / 2.89 GB, free: 164.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/6.069, allocations: 128.7 kB / 2.89 GB, free: 164.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.8e-05/6.069, allocations: 4 kB / 2.89 GB, free: 164.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002736/6.069, allocations: 31.97 kB / 2.89 GB, free: 164.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.302e-05/6.07, allocations: 15.94 kB / 2.89 GB, free: 164.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.498e-05/6.07, allocations: 15.98 kB / 2.89 GB, free: 164.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001297/6.07, allocations: 150 kB / 2.89 GB, free: 163.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/6.07, allocations: 3.938 kB / 2.89 GB, free: 163.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007735/6.07, allocations: 195.7 kB / 2.89 GB, free: 163.7 MB / 0.698 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.001863/6.072, allocations: 1.409 MB / 2.891 GB, free: 162.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002923/6.073, allocations: 171.7 kB / 2.892 GB, free: 162.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/6.073, allocations: 0 / 2.892 GB, free: 162.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001275/6.073, allocations: 99.83 kB / 2.892 GB, free: 162.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005859/6.073, allocations: 86.05 kB / 2.892 GB, free: 162.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007205/6.074, allocations: 417.1 kB / 2.892 GB, free: 161.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002425/6.074, allocations: 0.7912 MB / 2.893 GB, free: 160.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000274/6.075, allocations: 69.92 kB / 2.893 GB, free: 160.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.978e-05/6.075, allocations: 23.44 kB / 2.893 GB, free: 160.7 MB / 0.698 GB Notification: Performance of SimCode: time 2.41e-07/6.075, allocations: 0 / 2.893 GB, free: 160.7 MB / 0.698 GB Notification: Performance of Templates: time 0.0194/6.094, allocations: 11.81 MB / 2.905 GB, free: 149 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)