Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.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.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9309/0.9309, 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.0011/0.0011, allocations: 177.8 kB / 187.3 MB, free: 11.9 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.476/1.476, allocations: 221.3 MB / 441.4 MB, free: 4.684 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.0008754/0.0008758, allocations: 91.22 kB / 0.5124 GB, free: 24.25 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001713/0.001713, allocations: 272.6 kB / 0.5939 GB, free: 8.008 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.429e-05/3.431e-05, allocations: 4 kB / 0.6834 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5578/0.5578, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.965/5.523, allocations: 1.828 GB / 2.592 GB, free: 221.4 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/5.524, allocations: 92.39 kB / 2.592 GB, free: 221.3 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.019/6.543, allocations: 300.5 MB / 2.885 GB, free: 188 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.583e-06/6.543, allocations: 0 / 2.885 GB, free: 188 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.14e-05/6.543, allocations: 16.97 kB / 2.886 GB, free: 188 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001096/6.544, allocations: 0.6501 MB / 2.886 GB, free: 187.4 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/6.544, allocations: 10.19 kB / 2.886 GB, free: 187.4 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002998/6.544, allocations: 65.03 kB / 2.886 GB, free: 187.4 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004165/6.545, allocations: 317.9 kB / 2.887 GB, free: 187.1 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/6.545, allocations: 20.44 kB / 2.887 GB, free: 187.1 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.012e-05/6.545, allocations: 28.97 kB / 2.887 GB, free: 187.1 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000413/6.545, allocations: 292.2 kB / 2.887 GB, free: 186.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/6.545, allocations: 3.938 kB / 2.887 GB, free: 186.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.448e-05/6.545, allocations: 11.88 kB / 2.887 GB, free: 186.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/6.545, allocations: 3.875 kB / 2.887 GB, free: 186.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002326/6.545, allocations: 169.6 kB / 2.887 GB, free: 186.8 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.001168/6.547, allocations: 1.528 MB / 2.889 GB, free: 185.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001506/6.547, allocations: 95.12 kB / 2.889 GB, free: 185.4 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.221e-05/6.547, allocations: 72.33 kB / 2.889 GB, free: 185.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000432/6.547, allocations: 300.5 kB / 2.889 GB, free: 185 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/6.547, allocations: 38.27 kB / 2.889 GB, free: 185 MB / 0.698 GB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/6.547, allocations: 3.938 kB / 2.889 GB, free: 185 MB / 0.698 GB Notification: Performance of matching and sorting (n=13): time 0.0004117/6.548, allocations: 177.1 kB / 2.889 GB, free: 184.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.497e-05/6.548, allocations: 57.75 kB / 2.889 GB, free: 184.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002185/6.548, allocations: 270.9 kB / 2.889 GB, free: 184.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/6.548, allocations: 25.7 kB / 2.89 GB, free: 184.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.556e-05/6.548, allocations: 181.2 kB / 2.89 GB, free: 184.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.188e-05/6.548, allocations: 51.78 kB / 2.89 GB, free: 184.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.174e-06/6.548, allocations: 0 / 2.89 GB, free: 184.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.067e-05/6.548, allocations: 340.6 kB / 2.89 GB, free: 184.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.322e-05/6.548, allocations: 44.3 kB / 2.89 GB, free: 184.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.754e-05/6.548, allocations: 106.2 kB / 2.89 GB, free: 184 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.054e-05/6.548, allocations: 56.41 kB / 2.89 GB, free: 184 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/6.548, allocations: 3.25 kB / 2.89 GB, free: 184 MB / 0.698 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002292/6.549, allocations: 181.8 kB / 2.89 GB, free: 183.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/6.549, allocations: 7.875 kB / 2.89 GB, free: 183.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/6.549, allocations: 0 / 2.89 GB, free: 183.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/6.549, allocations: 3.312 kB / 2.89 GB, free: 183.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001695/6.549, allocations: 40.66 kB / 2.89 GB, free: 183.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/6.549, allocations: 7.016 kB / 2.89 GB, free: 183.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001885/6.549, allocations: 37.44 kB / 2.891 GB, free: 183.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.62e-05/6.549, allocations: 15.08 kB / 2.891 GB, free: 183.8 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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 6.04e-05/6.549, allocations: 108.7 kB / 2.891 GB, free: 183.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.323e-05/6.549, allocations: 30.09 kB / 2.891 GB, free: 183.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002742/6.55, allocations: 180.7 kB / 2.891 GB, free: 183.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/6.55, allocations: 3.688 kB / 2.891 GB, free: 183.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/6.55, allocations: 0 / 2.891 GB, free: 183.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/6.55, allocations: 7.016 kB / 2.891 GB, free: 183.6 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006911/6.55, allocations: 0.6325 MB / 2.891 GB, free: 183 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/6.55, allocations: 7.797 kB / 2.891 GB, free: 183 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001246/6.55, allocations: 34.64 kB / 2.892 GB, free: 183 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.137e-06/6.55, allocations: 3.188 kB / 2.892 GB, free: 183 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/6.551, allocations: 6.875 kB / 2.892 GB, free: 183 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/6.551, allocations: 0 / 2.892 GB, free: 183 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/6.551, allocations: 3.562 kB / 2.892 GB, free: 183 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002635/6.551, allocations: 390.4 kB / 2.892 GB, free: 182.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.768e-05/6.551, allocations: 122.2 kB / 2.892 GB, free: 182.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.669e-05/6.551, allocations: 7.969 kB / 2.892 GB, free: 182.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001742/6.551, allocations: 20.83 kB / 2.892 GB, free: 182.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.166e-05/6.551, allocations: 19.48 kB / 2.892 GB, free: 182.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/6.551, allocations: 3.969 kB / 2.892 GB, free: 182.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001619/6.551, allocations: 224.6 kB / 2.892 GB, free: 182.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/6.551, allocations: 0 / 2.892 GB, free: 182.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007388/6.552, allocations: 182.9 kB / 2.892 GB, free: 182.3 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 (13): * Single equations (assignments): 13 * 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.001708/6.554, allocations: 1.182 MB / 2.894 GB, free: 181.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002491/6.554, allocations: 124.2 kB / 2.894 GB, free: 181.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/6.554, allocations: 0 / 2.894 GB, free: 181.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.96e-05/6.554, allocations: 72.39 kB / 2.894 GB, free: 181.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007056/6.555, allocations: 136.3 kB / 2.894 GB, free: 181.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006175/6.556, allocations: 374.6 kB / 2.894 GB, free: 181.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002208/6.556, allocations: 0.7852 MB / 2.895 GB, free: 180.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001728/6.556, allocations: 54.52 kB / 2.895 GB, free: 180.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.34e-05/6.556, allocations: 26.83 kB / 2.895 GB, free: 180.6 MB / 0.698 GB Notification: Performance of SimCode: time 4.41e-07/6.556, allocations: 1.125 kB / 2.895 GB, free: 180.6 MB / 0.698 GB Notification: Performance of Templates: time 0.02661/6.583, allocations: 22.6 MB / 2.917 GB, free: 158.8 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)