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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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.771/0.771, allocations: 140.1 MB / 156 MB, free: 5.16 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001118/0.001118, allocations: 176.7 kB / 188.5 MB, free: 15.82 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.61/1.61, allocations: 205.4 MB / 426.3 MB, free: 8.395 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009357/0.0009358, allocations: 86.38 kB / 0.4945 GB, free: 8.344 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001652/0.001652, allocations: 265.7 kB / 0.5728 GB, free: 66.23 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005439/0.0005441, allocations: 20 kB / 0.662 GB, free: 6.809 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3449, allocations: 79.31 MB / 0.7395 GB, free: 46.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.149/4.494, allocations: 2.032 GB / 2.772 GB, free: 178.5 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000242/4.494, allocations: 87.95 kB / 2.772 GB, free: 178.5 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.9505/5.445, allocations: 297.4 MB / 3.062 GB, free: 138.6 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.864e-06/5.445, allocations: 4 kB / 3.062 GB, free: 138.6 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 3.786e-05/5.445, allocations: 8 kB / 3.062 GB, free: 138.6 MB / 0.6667 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.001525/5.447, allocations: 0.6853 MB / 3.063 GB, free: 137.9 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/5.447, allocations: 12.03 kB / 3.063 GB, free: 137.8 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003859/5.447, allocations: 64.42 kB / 3.063 GB, free: 137.8 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004851/5.448, allocations: 327.4 kB / 3.063 GB, free: 137.4 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/5.448, allocations: 24.94 kB / 3.063 GB, free: 137.4 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.697e-05/5.448, allocations: 32.36 kB / 3.063 GB, free: 137.4 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004653/5.448, allocations: 320.2 kB / 3.064 GB, free: 137 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/5.448, allocations: 3.938 kB / 3.064 GB, free: 137 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.267e-05/5.448, allocations: 12 kB / 3.064 GB, free: 137 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/5.448, allocations: 4 kB / 3.064 GB, free: 137 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003939/5.449, allocations: 209.5 kB / 3.064 GB, free: 136.8 MB / 0.6667 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.001315/5.45, allocations: 1.534 MB / 3.065 GB, free: 135.1 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002184/5.45, allocations: 110.5 kB / 3.065 GB, free: 135 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/5.45, allocations: 88.8 kB / 3.065 GB, free: 134.9 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004231/5.451, allocations: 299.3 kB / 3.066 GB, free: 134.6 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.627e-05/5.451, allocations: 34.81 kB / 3.066 GB, free: 134.5 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/5.451, allocations: 0 / 3.066 GB, free: 134.5 MB / 0.6667 GB Notification: Performance of matching and sorting (n=13): time 0.0006529/5.451, allocations: 274.6 kB / 3.066 GB, free: 134.3 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.636e-05/5.451, allocations: 51.41 kB / 3.066 GB, free: 134.2 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002417/5.452, allocations: 308.5 kB / 3.066 GB, free: 133.9 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/5.452, allocations: 25.7 kB / 3.066 GB, free: 133.9 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 8.042e-05/5.452, allocations: 191.9 kB / 3.067 GB, free: 133.7 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.931e-05/5.452, allocations: 47.3 kB / 3.067 GB, free: 133.6 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.743e-06/5.452, allocations: 0 / 3.067 GB, free: 133.6 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.228e-05/5.452, allocations: 350.8 kB / 3.067 GB, free: 133.3 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/5.452, allocations: 59.95 kB / 3.067 GB, free: 133.2 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001646/5.452, allocations: 127.4 kB / 3.067 GB, free: 133.1 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002585/5.452, allocations: 177 kB / 3.067 GB, free: 132.9 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/5.452, allocations: 0 / 3.067 GB, free: 132.9 MB / 0.6667 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003435/5.453, allocations: 217.2 kB / 3.068 GB, free: 132.7 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/5.453, allocations: 9.719 kB / 3.068 GB, free: 132.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/5.453, allocations: 0 / 3.068 GB, free: 132.7 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/5.453, allocations: 4 kB / 3.068 GB, free: 132.6 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/5.453, allocations: 31.98 kB / 3.068 GB, free: 132.6 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/5.453, allocations: 0 / 3.068 GB, free: 132.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002056/5.453, allocations: 51.78 kB / 3.068 GB, free: 132.6 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.127e-05/5.453, allocations: 11.94 kB / 3.068 GB, free: 132.6 MB / 0.6667 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 () * Number of clocked 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 0.0001294/5.453, allocations: 146.7 kB / 3.068 GB, free: 132.4 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.2e-05/5.454, allocations: 27.62 kB / 3.068 GB, free: 132.4 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003602/5.454, allocations: 212.3 kB / 3.068 GB, free: 132.2 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/5.454, allocations: 4 kB / 3.068 GB, free: 132.2 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/5.454, allocations: 0 / 3.068 GB, free: 132.2 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/5.454, allocations: 7.922 kB / 3.068 GB, free: 132.1 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000793/5.455, allocations: 0.6719 MB / 3.069 GB, free: 131.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/5.455, allocations: 4.125 kB / 3.069 GB, free: 131.4 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001206/5.455, allocations: 39.92 kB / 3.069 GB, free: 131.4 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.137e-06/5.455, allocations: 4 kB / 3.069 GB, free: 131.4 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/5.455, allocations: 0 / 3.069 GB, free: 131.4 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/5.455, allocations: 4 kB / 3.069 GB, free: 131.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/5.455, allocations: 4 kB / 3.069 GB, free: 131.3 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003334/5.455, allocations: 342.2 kB / 3.069 GB, free: 131 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 9.411e-05/5.455, allocations: 120.7 kB / 3.069 GB, free: 130.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.356e-05/5.455, allocations: 4 kB / 3.069 GB, free: 130.8 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001774/5.456, allocations: 23.89 kB / 3.069 GB, free: 130.8 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.049e-05/5.456, allocations: 11.98 kB / 3.069 GB, free: 130.8 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/5.456, allocations: 8 kB / 3.069 GB, free: 130.8 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0001656/5.456, allocations: 223 kB / 3.069 GB, free: 130.6 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.11e-07/5.456, allocations: 0 / 3.069 GB, free: 130.6 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0007631/5.457, allocations: 175.9 kB / 3.07 GB, free: 130.4 MB / 0.6667 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 (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.001519/5.458, allocations: 1.202 MB / 3.071 GB, free: 129.2 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0003682/5.459, allocations: 160 kB / 3.071 GB, free: 129 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/5.459, allocations: 0 / 3.071 GB, free: 129 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001518/5.459, allocations: 83.88 kB / 3.071 GB, free: 128.9 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008229/5.46, allocations: 137.4 kB / 3.071 GB, free: 128.8 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008343/5.46, allocations: 0.6321 MB / 3.072 GB, free: 128.1 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002483/5.461, allocations: 0.7758 MB / 3.073 GB, free: 127.3 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002418/5.461, allocations: 63.06 kB / 3.073 GB, free: 127.3 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.113e-05/5.461, allocations: 23.44 kB / 3.073 GB, free: 127.2 MB / 0.6667 GB Notification: Performance of SimCode: time 3.5e-07/5.461, allocations: 0 / 3.073 GB, free: 127.2 MB / 0.6667 GB Notification: Performance of Templates: time 0.02381/5.485, allocations: 19.46 MB / 3.092 GB, free: 107.8 MB / 0.6667 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)