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.7455/0.7455, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 175.4 kB / 187.3 MB, free: 11.89 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.434/1.434, allocations: 221.3 MB / 441.4 MB, free: 4.582 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.0009402/0.0009402, allocations: 95.78 kB / 0.5124 GB, free: 24.36 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001959/0.001959, allocations: 265.7 kB / 0.5939 GB, free: 7.949 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.365e-05/4.369e-05, allocations: 4 kB / 0.6834 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4598/0.4599, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.923/5.383, allocations: 1.829 GB / 2.593 GB, free: 220.1 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002384/5.383, allocations: 92.52 kB / 2.594 GB, free: 220 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.067/6.45, allocations: 306.6 MB / 2.893 GB, free: 183.8 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.286e-06/6.45, allocations: 0 / 2.893 GB, free: 183.8 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.301e-05/6.45, allocations: 10.97 kB / 2.893 GB, free: 183.8 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.001503/6.452, allocations: 0.7079 MB / 2.894 GB, free: 183.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 7.023e-05/6.452, allocations: 9.656 kB / 2.894 GB, free: 183.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001071/6.453, allocations: 124 kB / 2.894 GB, free: 183.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004988/6.453, allocations: 341.9 kB / 2.894 GB, free: 182.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.491e-05/6.453, allocations: 51.33 kB / 2.894 GB, free: 182.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.241e-05/6.454, allocations: 30.22 kB / 2.894 GB, free: 182.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004869/6.454, allocations: 332.5 kB / 2.895 GB, free: 182.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/6.454, allocations: 0 / 2.895 GB, free: 182.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.43e-05/6.454, allocations: 15.5 kB / 2.895 GB, free: 182.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/6.454, allocations: 8 kB / 2.895 GB, free: 182.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003189/6.454, allocations: 222.1 kB / 2.895 GB, free: 182.3 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.00146/6.456, allocations: 1.47 MB / 2.896 GB, free: 180.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002736/6.456, allocations: 172.5 kB / 2.896 GB, free: 180.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001223/6.456, allocations: 100.6 kB / 2.896 GB, free: 180.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007687/6.457, allocations: 0.5043 MB / 2.897 GB, free: 179.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/6.457, allocations: 41.34 kB / 2.897 GB, free: 179.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 1.593e-06/6.457, allocations: 4 kB / 2.897 GB, free: 179.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.0005704/6.458, allocations: 231.5 kB / 2.897 GB, free: 179.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/6.458, allocations: 51.41 kB / 2.897 GB, free: 179.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002439/6.458, allocations: 274.7 kB / 2.897 GB, free: 179.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/6.458, allocations: 32.67 kB / 2.898 GB, free: 179.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.799e-05/6.458, allocations: 190.3 kB / 2.898 GB, free: 179 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.694e-05/6.458, allocations: 53.38 kB / 2.898 GB, free: 179 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.06e-05/6.458, allocations: 0 / 2.898 GB, free: 179 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.872e-05/6.458, allocations: 338.8 kB / 2.898 GB, free: 178.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.849e-05/6.458, allocations: 63.97 kB / 2.898 GB, free: 178.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001428/6.459, allocations: 147.9 kB / 2.898 GB, free: 178.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001203/6.459, allocations: 83.12 kB / 2.898 GB, free: 178.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/6.459, allocations: 0 / 2.898 GB, free: 178.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003894/6.459, allocations: 253.1 kB / 2.899 GB, free: 178.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/6.459, allocations: 6.688 kB / 2.899 GB, free: 178.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/6.459, allocations: 4 kB / 2.899 GB, free: 178.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/6.459, allocations: 4 kB / 2.899 GB, free: 178.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002232/6.459, allocations: 39.97 kB / 2.899 GB, free: 178 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/6.459, allocations: 4 kB / 2.899 GB, free: 178 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002503/6.46, allocations: 40.62 kB / 2.899 GB, free: 178 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.391e-05/6.46, allocations: 19.92 kB / 2.899 GB, free: 178 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 0.000101/6.46, allocations: 116 kB / 2.899 GB, free: 177.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.424e-05/6.46, allocations: 31.62 kB / 2.899 GB, free: 177.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000531/6.46, allocations: 285.2 kB / 2.899 GB, free: 177.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/6.46, allocations: 0 / 2.899 GB, free: 177.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/6.461, allocations: 0 / 2.899 GB, free: 177.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/6.461, allocations: 6.875 kB / 2.899 GB, free: 177.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001026/6.462, allocations: 0.7695 MB / 2.9 GB, free: 176.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/6.462, allocations: 0 / 2.9 GB, free: 176.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001721/6.462, allocations: 35.98 kB / 2.9 GB, free: 176.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/6.462, allocations: 3.094 kB / 2.9 GB, free: 176.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/6.462, allocations: 8 kB / 2.9 GB, free: 176.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/6.462, allocations: 7.984 kB / 2.9 GB, free: 176.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/6.462, allocations: 7.938 kB / 2.9 GB, free: 176.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004233/6.462, allocations: 443.3 kB / 2.9 GB, free: 176.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001241/6.462, allocations: 139.5 kB / 2.901 GB, free: 176 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.922e-05/6.462, allocations: 7.938 kB / 2.901 GB, free: 176 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002569/6.463, allocations: 31.59 kB / 2.901 GB, free: 176 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.564e-05/6.463, allocations: 15.94 kB / 2.901 GB, free: 175.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-05/6.463, allocations: 15.98 kB / 2.901 GB, free: 175.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001674/6.463, allocations: 218.2 kB / 2.901 GB, free: 175.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.31e-07/6.463, allocations: 0 / 2.901 GB, free: 175.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009556/6.464, allocations: 234 kB / 2.901 GB, free: 175.5 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 () * 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.001977/6.466, allocations: 1.243 MB / 2.902 GB, free: 174.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003339/6.466, allocations: 179.8 kB / 2.902 GB, free: 174.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/6.466, allocations: 0 / 2.902 GB, free: 174.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001302/6.466, allocations: 95.83 kB / 2.902 GB, free: 174.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007771/6.467, allocations: 149.9 kB / 2.903 GB, free: 174.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008645/6.468, allocations: 431 kB / 2.903 GB, free: 173.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002255/6.468, allocations: 0.7953 MB / 2.904 GB, free: 172.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000276/6.469, allocations: 86.75 kB / 2.904 GB, free: 172.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.113e-05/6.469, allocations: 27.44 kB / 2.904 GB, free: 172.7 MB / 0.698 GB Notification: Performance of SimCode: time 2.5e-07/6.469, allocations: 0 / 2.904 GB, free: 172.7 MB / 0.698 GB Notification: Performance of Templates: time 0.02963/6.498, allocations: 24.36 MB / 2.928 GB, free: 148.5 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)