Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.conf.json 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/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 116 kB / 17.08 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 198.9 kB / 18.02 MB, free: 5.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7338/0.7338, allocations: 115.3 MB / 407.2 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 69.8 kB / 0.5584 GB, free: 32.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.1522, allocations: 76.18 MB / 0.6327 GB, free: 4.418 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.5824/0.7346, allocations: 167.5 MB / 0.7963 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007643/0.7423, allocations: 6.541 MB / 0.8027 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006762/0.7431, allocations: 12.03 kB / 0.8027 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.000694/0.7438, allocations: 176.5 kB / 0.8029 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00268/0.7465, allocations: 0.8384 MB / 0.8037 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00113/0.7477, allocations: 333.7 kB / 0.804 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001133/0.7489, allocations: 0.7156 MB / 0.8047 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000571/0.7494, allocations: 273.7 kB / 0.805 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001465/0.7509, allocations: 0.5582 MB / 0.8055 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00057/0.7515, allocations: 270.2 kB / 0.8058 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 8.128e-05/0.7516, allocations: 22.38 kB / 0.8058 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008682/0.7525, allocations: 345.5 kB / 0.8061 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001613/0.7526, allocations: 105.9 kB / 0.8062 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002488/0.7529, allocations: 161.4 kB / 0.8064 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0008893/0.7538, allocations: 475.7 kB / 0.8069 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.7538, allocations: 0 / 0.8069 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.833e-06/0.7538, allocations: 0 / 0.8069 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.498e-05/0.7538, allocations: 6.562 kB / 0.8069 GB, free: 11.73 MB / 0.5919 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.001109/0.755, allocations: 0.6086 MB / 0.8075 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.755, allocations: 9.875 kB / 0.8075 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003823/0.7554, allocations: 57.38 kB / 0.8075 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000568/0.756, allocations: 333 kB / 0.8078 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.341e-05/0.756, allocations: 16.88 kB / 0.8079 GB, free: 11 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.792e-05/0.7561, allocations: 22.53 kB / 0.8079 GB, free: 11 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005625/0.7566, allocations: 321.1 kB / 0.8082 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.7566, allocations: 0 / 0.8082 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.759e-05/0.7567, allocations: 11.78 kB / 0.8082 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.7567, allocations: 5.219 kB / 0.8082 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004052/0.7571, allocations: 208.3 kB / 0.8084 GB, free: 10.85 MB / 0.5919 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.001708/0.7588, allocations: 1.535 MB / 0.8099 GB, free: 9.555 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00025/0.7591, allocations: 124.1 kB / 0.81 GB, free: 9.508 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001688/0.7593, allocations: 90.08 kB / 0.8101 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005819/0.7599, allocations: 303.6 kB / 0.8104 GB, free: 9.18 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.7599, allocations: 30.56 kB / 0.8104 GB, free: 9.141 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=13): time 1.773e-06/0.7599, allocations: 0 / 0.8104 GB, free: 9.141 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13): time 0.0007344/0.7606, allocations: 272.7 kB / 0.8107 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.7607, allocations: 54.72 kB / 0.8107 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003113/0.761, allocations: 322.4 kB / 0.811 GB, free: 8.828 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.761, allocations: 29.39 kB / 0.8111 GB, free: 8.797 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.7612, allocations: 178.2 kB / 0.8112 GB, free: 8.68 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.587e-05/0.7612, allocations: 39.61 kB / 0.8113 GB, free: 8.648 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.315e-05/0.7613, allocations: 39.33 kB / 0.8113 GB, free: 8.629 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.7614, allocations: 343.9 kB / 0.8116 GB, free: 8.305 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/0.7616, allocations: 55.95 kB / 0.8117 GB, free: 8.293 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001782/0.7618, allocations: 112.6 kB / 0.8118 GB, free: 8.227 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003293/0.7621, allocations: 178.4 kB / 0.812 GB, free: 8.148 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.7621, allocations: 3.938 kB / 0.812 GB, free: 8.145 MB / 0.5919 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004168/0.7625, allocations: 220.8 kB / 0.8122 GB, free: 8.055 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.7626, allocations: 7.406 kB / 0.8122 GB, free: 8.055 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.7626, allocations: 0 / 0.8122 GB, free: 8.055 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.7626, allocations: 2.375 kB / 0.8122 GB, free: 8.055 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.7628, allocations: 36.7 kB / 0.8122 GB, free: 8.047 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.7628, allocations: 5.875 kB / 0.8122 GB, free: 8.047 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001909/0.763, allocations: 34.77 kB / 0.8123 GB, free: 8.023 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.582e-05/0.763, allocations: 7.969 kB / 0.8123 GB, free: 8.023 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000154/0.7632, allocations: 159.6 kB / 0.8124 GB, free: 7.895 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.8e-05/0.7633, allocations: 28.58 kB / 0.8125 GB, free: 7.879 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004219/0.7637, allocations: 208.5 kB / 0.8127 GB, free: 7.805 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.7637, allocations: 2.094 kB / 0.8127 GB, free: 7.805 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.7637, allocations: 0 / 0.8127 GB, free: 7.805 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.7637, allocations: 0 / 0.8127 GB, free: 7.805 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/0.7647, allocations: 0.6868 MB / 0.8133 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.7648, allocations: 6.125 kB / 0.8133 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001295/0.7649, allocations: 31.69 kB / 0.8134 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.992e-06/0.7649, allocations: 2.344 kB / 0.8134 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.7649, allocations: 2.562 kB / 0.8134 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.522e-06/0.7649, allocations: 9.031 kB / 0.8134 GB, free: 7.312 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.706e-06/0.7649, allocations: 3.938 kB / 0.8134 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004242/0.7654, allocations: 333.9 kB / 0.8137 GB, free: 7.082 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001298/0.7655, allocations: 116.5 kB / 0.8138 GB, free: 6.969 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.243e-05/0.7656, allocations: 14.34 kB / 0.8138 GB, free: 6.957 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/0.7657, allocations: 19.61 kB / 0.8138 GB, free: 6.949 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.771e-05/0.7658, allocations: 9.172 kB / 0.8139 GB, free: 6.945 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.099e-05/0.7658, allocations: 8.031 kB / 0.8139 GB, free: 6.945 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002289/0.766, allocations: 217.8 kB / 0.8141 GB, free: 6.84 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.766, allocations: 0 / 0.8141 GB, free: 6.84 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003976/0.7664, allocations: 79.8 kB / 0.8141 GB, free: 6.824 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004287/0.7669, allocations: 161.5 kB / 0.8143 GB, free: 6.707 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004056/0.7673, allocations: 167 kB / 0.8145 GB, free: 6.664 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.7673, allocations: 0 / 0.8145 GB, free: 6.664 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001628/0.7675, allocations: 78.17 kB / 0.8145 GB, free: 6.648 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000824/0.7683, allocations: 156.9 kB / 0.8147 GB, free: 6.59 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009479/0.7693, allocations: 0.5596 MB / 0.8152 GB, free: 6.211 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003866/0.7697, allocations: 0.7849 MB / 0.816 GB, free: 5.465 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.407e-05/0.7698, allocations: 24.97 kB / 0.816 GB, free: 5.457 MB / 0.5919 GB Notification: Performance of SimCode: time 4.21e-07/0.7698, allocations: 0 / 0.816 GB, free: 5.457 MB / 0.5919 GB Notification: Performance of Templates: time 0.008268/0.778, allocations: 4.578 MB / 0.8205 GB, free: 3.145 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)