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.001045/0.001045, allocations: 111.3 kB / 16.41 MB, free: 6.496 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.001266/0.001266, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.348/1.348, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7826/0.7826, allocations: 126.1 MB / 417.3 MB, free: 12.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 68.73 kB / 0.5731 GB, free: 27.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1658, allocations: 78.7 MB / 0.6499 GB, free: 4.109 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.6069/0.7727, allocations: 167.5 MB / 0.8136 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.006789/0.7796, allocations: 6.534 MB / 0.8199 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000734/0.7803, allocations: 18.25 kB / 0.82 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006697/0.781, allocations: 174.4 kB / 0.8201 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002653/0.7838, allocations: 0.8353 MB / 0.8209 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009719/0.7847, allocations: 332.9 kB / 0.8213 GB, free: 9.477 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0007855/0.7855, allocations: 0.7196 MB / 0.822 GB, free: 9.086 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004095/0.786, allocations: 279 kB / 0.8222 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00109/0.7871, allocations: 0.5487 MB / 0.8228 GB, free: 8.633 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003528/0.7874, allocations: 273.8 kB / 0.823 GB, free: 8.496 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.371e-05/0.7875, allocations: 22.41 kB / 0.823 GB, free: 8.496 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006411/0.7881, allocations: 339.8 kB / 0.8234 GB, free: 8.355 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.7883, allocations: 105 kB / 0.8235 GB, free: 8.289 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001558/0.7884, allocations: 164.3 kB / 0.8236 GB, free: 8.188 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0006321/0.7891, allocations: 467.4 kB / 0.8241 GB, free: 7.918 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.7891, allocations: 3.984 kB / 0.8241 GB, free: 7.914 MB / 0.5919 GB Notification: Performance of FrontEnd: time 6.81e-07/0.7891, allocations: 0 / 0.8241 GB, free: 7.914 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.245e-06/0.7891, allocations: 0 / 0.8241 GB, free: 7.914 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.0008319/0.7899, allocations: 0.6317 MB / 0.8247 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.79, allocations: 9.875 kB / 0.8247 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003079/0.7903, allocations: 61.77 kB / 0.8248 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005035/0.7908, allocations: 324.9 kB / 0.8251 GB, free: 7.02 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.32e-05/0.7908, allocations: 18.75 kB / 0.8251 GB, free: 7.012 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.476e-05/0.7909, allocations: 29.78 kB / 0.8251 GB, free: 7 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005303/0.7914, allocations: 321.5 kB / 0.8254 GB, free: 6.773 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.7914, allocations: 3.938 kB / 0.8254 GB, free: 6.77 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.552e-05/0.7915, allocations: 14.42 kB / 0.8254 GB, free: 6.758 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.7915, allocations: 7.688 kB / 0.8254 GB, free: 6.758 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004221/0.7919, allocations: 203.2 kB / 0.8256 GB, free: 6.664 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.001546/0.7935, allocations: 1.545 MB / 0.8271 GB, free: 5.215 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000243/0.7937, allocations: 113.3 kB / 0.8273 GB, free: 5.148 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001693/0.7939, allocations: 92.27 kB / 0.8273 GB, free: 5.105 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005335/0.7944, allocations: 305.2 kB / 0.8276 GB, free: 4.793 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.7945, allocations: 37.88 kB / 0.8277 GB, free: 4.75 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=13): time 3.617e-06/0.7945, allocations: 0 / 0.8277 GB, free: 4.75 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13): time 0.0006581/0.7951, allocations: 272.2 kB / 0.8279 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.01e-05/0.7952, allocations: 53.53 kB / 0.828 GB, free: 4.543 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002794/0.7955, allocations: 305.7 kB / 0.8283 GB, free: 4.352 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.685e-05/0.7955, allocations: 29.69 kB / 0.8283 GB, free: 4.316 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.7956, allocations: 188.6 kB / 0.8285 GB, free: 4.148 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.637e-05/0.7957, allocations: 44.14 kB / 0.8285 GB, free: 4.109 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.728e-05/0.7958, allocations: 37.28 kB / 0.8286 GB, free: 4.082 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.7959, allocations: 350 kB / 0.8289 GB, free: 3.738 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/0.7961, allocations: 57.95 kB / 0.8289 GB, free: 3.711 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001871/0.7962, allocations: 118.2 kB / 0.8291 GB, free: 3.621 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003029/0.7966, allocations: 173.6 kB / 0.8292 GB, free: 3.504 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.7966, allocations: 0 / 0.8292 GB, free: 3.504 MB / 0.5919 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003885/0.797, allocations: 220.1 kB / 0.8294 GB, free: 3.383 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.797, allocations: 5.375 kB / 0.8294 GB, free: 3.383 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.797, allocations: 2.375 kB / 0.8294 GB, free: 3.383 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.777e-06/0.797, allocations: 6.344 kB / 0.8294 GB, free: 3.379 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.7972, allocations: 40.81 kB / 0.8295 GB, free: 3.363 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.7972, allocations: 2.781 kB / 0.8295 GB, free: 3.363 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001548/0.7973, allocations: 26.02 kB / 0.8295 GB, free: 3.348 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.512e-05/0.7974, allocations: 9.219 kB / 0.8295 GB, free: 3.344 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.0001401/0.7975, allocations: 153.7 kB / 0.8297 GB, free: 3.203 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.055e-05/0.7976, allocations: 28.69 kB / 0.8297 GB, free: 3.188 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004178/0.798, allocations: 211.4 kB / 0.8299 GB, free: 3.059 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.798, allocations: 0 / 0.8299 GB, free: 3.059 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.798, allocations: 0 / 0.8299 GB, free: 3.059 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.798, allocations: 2.375 kB / 0.8299 GB, free: 3.059 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00095/0.799, allocations: 0.6821 MB / 0.8306 GB, free: 2.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.799, allocations: 2.969 kB / 0.8306 GB, free: 2.48 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001207/0.7991, allocations: 35.2 kB / 0.8306 GB, free: 2.469 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.7991, allocations: 6.156 kB / 0.8306 GB, free: 2.465 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.7992, allocations: 10.06 kB / 0.8306 GB, free: 2.457 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.7992, allocations: 7.078 kB / 0.8306 GB, free: 2.453 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.7992, allocations: 2.719 kB / 0.8306 GB, free: 2.453 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000424/0.7996, allocations: 337.5 kB / 0.831 GB, free: 2.176 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.7997, allocations: 124.2 kB / 0.8311 GB, free: 2.051 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.413e-05/0.7998, allocations: 6.344 kB / 0.8311 GB, free: 2.047 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001483/0.7999, allocations: 12.41 kB / 0.8311 GB, free: 2.039 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.684e-05/0.8, allocations: 9.672 kB / 0.8311 GB, free: 2.035 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.8, allocations: 8.5 kB / 0.8311 GB, free: 2.031 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002009/0.8002, allocations: 226.6 kB / 0.8313 GB, free: 1.883 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8002, allocations: 0 / 0.8313 GB, free: 1.883 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003375/0.8005, allocations: 73.81 kB / 0.8314 GB, free: 1.867 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.0003939/0.8009, allocations: 157.6 kB / 0.8315 GB, free: 1.75 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003901/0.8013, allocations: 164.1 kB / 0.8317 GB, free: 1.676 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.8014, allocations: 0 / 0.8317 GB, free: 1.676 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001689/0.8015, allocations: 84.56 kB / 0.8318 GB, free: 1.637 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007678/0.8023, allocations: 155.6 kB / 0.8319 GB, free: 1.559 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007738/0.8031, allocations: 0.5399 MB / 0.8325 GB, free: 1.152 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003225/0.8034, allocations: 0.7768 MB / 0.8332 GB, free: 424 kB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001752/0.8036, allocations: 60.67 kB / 0.8333 GB, free: 400 kB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.541e-05/0.8037, allocations: 28.34 kB / 0.8333 GB, free: 388 kB / 0.5919 GB Notification: Performance of SimCode: time 2.7e-07/0.8037, allocations: 0 / 0.8333 GB, free: 388 kB / 0.5919 GB Notification: Performance of Templates: time 0.00929/0.813, allocations: 5.136 MB / 0.8383 GB, free: 13.86 MB / 0.6075 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)