Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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) 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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7425/0.7425, allocations: 127.3 MB / 139.8 MB, free: 15.48 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.001007/0.001007, allocations: 192.7 kB / 169.7 MB, free: 1.742 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.591/1.591, allocations: 205.1 MB / 404.5 MB, free: 1.68 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001045/0.001045, allocations: 91.67 kB / 481.8 MB, free: 4.32 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.61e-05/3.612e-05, allocations: 7.984 kB / 0.5532 GB, free: 54.87 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1457, allocations: 76.75 MB / 0.6282 GB, free: 10.05 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.251/5.396, allocations: 2.137 GB / 2.765 GB, free: 192.1 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002885/5.397, allocations: 91.94 kB / 2.765 GB, free: 192 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.9953/6.392, allocations: 295.9 MB / 3.054 GB, free: 152.6 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.305e-06/6.392, allocations: 0 / 3.054 GB, free: 152.6 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.082e-05/6.392, allocations: 15.19 kB / 3.054 GB, free: 152.6 MB / 0.6511 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.001131/6.393, allocations: 0.6548 MB / 3.055 GB, free: 152 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.471e-05/6.393, allocations: 12.12 kB / 3.055 GB, free: 152 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003242/6.394, allocations: 61.56 kB / 3.055 GB, free: 152 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004865/6.394, allocations: 327.7 kB / 3.056 GB, free: 151.7 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.317e-05/6.394, allocations: 24.56 kB / 3.056 GB, free: 151.7 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.579e-05/6.394, allocations: 27.95 kB / 3.056 GB, free: 151.6 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003943/6.395, allocations: 236.9 kB / 3.056 GB, free: 151.4 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/6.395, allocations: 3.062 kB / 3.056 GB, free: 151.4 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.499e-05/6.395, allocations: 12 kB / 3.056 GB, free: 151.4 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/6.395, allocations: 8 kB / 3.056 GB, free: 151.4 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002699/6.395, allocations: 182.2 kB / 3.056 GB, free: 151.2 MB / 0.6511 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.001111/6.396, allocations: 0.9699 MB / 3.057 GB, free: 150.2 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003322/6.397, allocations: 182.6 kB / 3.057 GB, free: 150 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001216/6.397, allocations: 88.83 kB / 3.057 GB, free: 149.9 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004376/6.397, allocations: 302.2 kB / 3.057 GB, free: 149.5 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/6.397, allocations: 30.56 kB / 3.058 GB, free: 149.5 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 1.673e-06/6.397, allocations: 4 kB / 3.058 GB, free: 149.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.0004687/6.398, allocations: 213.5 kB / 3.058 GB, free: 149.3 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.636e-05/6.398, allocations: 55.41 kB / 3.058 GB, free: 149.2 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002175/6.398, allocations: 262.7 kB / 3.058 GB, free: 148.9 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/6.398, allocations: 29.7 kB / 3.058 GB, free: 148.9 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.963e-05/6.398, allocations: 168.4 kB / 3.058 GB, free: 148.7 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.443e-05/6.398, allocations: 63.02 kB / 3.058 GB, free: 148.7 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.838e-06/6.398, allocations: 0 / 3.058 GB, free: 148.7 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.649e-05/6.398, allocations: 350.7 kB / 3.059 GB, free: 148.3 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.528e-05/6.398, allocations: 55.98 kB / 3.059 GB, free: 148.3 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001175/6.398, allocations: 90.5 kB / 3.059 GB, free: 148.2 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/6.398, allocations: 65.34 kB / 3.059 GB, free: 148.1 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/6.398, allocations: 0 / 3.059 GB, free: 148.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002458/6.399, allocations: 196.4 kB / 3.059 GB, free: 147.9 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/6.399, allocations: 8.609 kB / 3.059 GB, free: 147.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/6.399, allocations: 6.953 kB / 3.059 GB, free: 147.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/6.399, allocations: 8 kB / 3.059 GB, free: 147.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001724/6.399, allocations: 43.92 kB / 3.059 GB, free: 147.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/6.399, allocations: 0 / 3.059 GB, free: 147.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001631/6.399, allocations: 39.72 kB / 3.059 GB, free: 147.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.968e-05/6.399, allocations: 11.97 kB / 3.059 GB, free: 147.8 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 6.434e-05/6.399, allocations: 120.9 kB / 3.059 GB, free: 147.7 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.144e-05/6.399, allocations: 27.62 kB / 3.059 GB, free: 147.7 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003408/6.4, allocations: 222.6 kB / 3.059 GB, free: 147.4 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/6.4, allocations: 4 kB / 3.059 GB, free: 147.4 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/6.4, allocations: 0 / 3.059 GB, free: 147.4 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/6.4, allocations: 0 / 3.059 GB, free: 147.4 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007754/6.4, allocations: 0.6929 MB / 3.06 GB, free: 146.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/6.4, allocations: 4 kB / 3.06 GB, free: 146.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001796/6.401, allocations: 35.98 kB / 3.06 GB, free: 146.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/6.401, allocations: 4 kB / 3.06 GB, free: 146.6 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/6.401, allocations: 12.12 kB / 3.06 GB, free: 146.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/6.401, allocations: 4 kB / 3.06 GB, free: 146.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/6.401, allocations: 7.938 kB / 3.06 GB, free: 146.6 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004265/6.401, allocations: 494.4 kB / 3.061 GB, free: 146 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.071e-05/6.401, allocations: 104.8 kB / 3.061 GB, free: 145.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.75e-05/6.401, allocations: 8 kB / 3.061 GB, free: 145.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002451/6.402, allocations: 20.05 kB / 3.061 GB, free: 145.9 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.353e-05/6.402, allocations: 23.94 kB / 3.061 GB, free: 145.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/6.402, allocations: 8 kB / 3.061 GB, free: 145.9 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001629/6.402, allocations: 218.2 kB / 3.061 GB, free: 145.7 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.41e-07/6.402, allocations: 0 / 3.061 GB, free: 145.7 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007189/6.402, allocations: 183.9 kB / 3.061 GB, free: 145.5 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (senH_flow.h_out,senH.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.001446/6.404, allocations: 1.215 MB / 3.062 GB, free: 144.2 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002671/6.404, allocations: 151.5 kB / 3.063 GB, free: 144.1 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/6.404, allocations: 0 / 3.063 GB, free: 144.1 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001135/6.404, allocations: 92.09 kB / 3.063 GB, free: 144 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006821/6.405, allocations: 145.4 kB / 3.063 GB, free: 143.9 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007473/6.406, allocations: 0.5042 MB / 3.063 GB, free: 143.3 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002155/6.406, allocations: 0.7953 MB / 3.064 GB, free: 142.5 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001706/6.406, allocations: 62.94 kB / 3.064 GB, free: 142.4 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.979e-05/6.406, allocations: 23.44 kB / 3.064 GB, free: 142.4 MB / 0.6511 GB Notification: Performance of SimCode: time 4.71e-07/6.406, allocations: 0 / 3.064 GB, free: 142.4 MB / 0.6511 GB Notification: Performance of Templates: time 0.02605/6.432, allocations: 22.86 MB / 3.086 GB, free: 119.6 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)