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.001231/0.001231, allocations: 108.3 kB / 17.03 MB, free: 5.656 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.001426/0.001426, allocations: 190.9 kB / 17.97 MB, free: 5.062 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.257/1.257, allocations: 222.9 MB / 241.7 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.6638/0.6638, allocations: 115.1 MB / 406.9 MB, free: 6.336 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 63.91 kB / 494.8 MB, free: 15.86 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3426, allocations: 76.15 MB / 0.5576 GB, free: 36.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1612/0.5038, allocations: 167.5 MB / 0.7212 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006768/0.5106, allocations: 6.533 MB / 0.7275 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004062/0.5111, allocations: 15.88 kB / 0.7275 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005392/0.5116, allocations: 170.8 kB / 0.7277 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001916/0.5136, allocations: 0.8479 MB / 0.7285 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007964/0.5144, allocations: 316 kB / 0.7288 GB, free: 4.586 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006926/0.5151, allocations: 0.729 MB / 0.7296 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003978/0.5155, allocations: 282.6 kB / 0.7298 GB, free: 3.578 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009507/0.5164, allocations: 0.5448 MB / 0.7304 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003254/0.5168, allocations: 274.9 kB / 0.7306 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.723e-05/0.5168, allocations: 24 kB / 0.7306 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005251/0.5174, allocations: 339.2 kB / 0.731 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001121/0.5175, allocations: 103.7 kB / 0.7311 GB, free: 2.305 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001459/0.5176, allocations: 171.1 kB / 0.7312 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005184/0.5182, allocations: 470.6 kB / 0.7317 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.5182, allocations: 4 kB / 0.7317 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.382e-06/0.5182, allocations: 0 / 0.7317 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.672e-06/0.5182, allocations: 0 / 0.7317 GB, free: 1.672 MB / 0.5606 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.0008343/0.519, allocations: 0.6194 MB / 0.7323 GB, free: 1.004 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.5191, allocations: 8.031 kB / 0.7323 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002878/0.5194, allocations: 67.52 kB / 0.7324 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004791/0.5199, allocations: 321.2 kB / 0.7327 GB, free: 0.5703 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.5199, allocations: 20.5 kB / 0.7327 GB, free: 0.5508 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.598e-05/0.5199, allocations: 28 kB / 0.7327 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000482/0.5204, allocations: 319.7 kB / 0.733 GB, free: 192 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.5204, allocations: 0 / 0.733 GB, free: 192 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.253e-05/0.5205, allocations: 12 kB / 0.733 GB, free: 180 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/0.5205, allocations: 8 kB / 0.733 GB, free: 172 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003771/0.5209, allocations: 201.5 kB / 0.7332 GB, free: 15.97 MB / 0.5762 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.001421/0.5223, allocations: 1.534 MB / 0.7347 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002304/0.5225, allocations: 122.5 kB / 0.7348 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001616/0.5227, allocations: 92.8 kB / 0.7349 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005279/0.5232, allocations: 303.2 kB / 0.7352 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.5233, allocations: 34.56 kB / 0.7352 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.243e-06/0.5233, allocations: 0 / 0.7352 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0006828/0.524, allocations: 276.1 kB / 0.7355 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.175e-05/0.524, allocations: 55.41 kB / 0.7356 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002879/0.5243, allocations: 312.5 kB / 0.7359 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.5243, allocations: 29.7 kB / 0.7359 GB, free: 13 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.5245, allocations: 180.1 kB / 0.7361 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.571e-05/0.5245, allocations: 43.36 kB / 0.7361 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.296e-05/0.5246, allocations: 41.7 kB / 0.7361 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.5247, allocations: 338.8 kB / 0.7365 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001391/0.5248, allocations: 55.95 kB / 0.7365 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001766/0.525, allocations: 118.9 kB / 0.7366 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002987/0.5253, allocations: 173 kB / 0.7368 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.5254, allocations: 3.938 kB / 0.7368 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003864/0.5257, allocations: 223 kB / 0.737 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.5258, allocations: 4 kB / 0.737 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.5258, allocations: 4 kB / 0.737 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.5258, allocations: 0 / 0.737 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001652/0.526, allocations: 39.98 kB / 0.7371 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.526, allocations: 0 / 0.7371 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001609/0.5262, allocations: 39.77 kB / 0.7371 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.816e-05/0.5262, allocations: 8 kB / 0.7371 GB, free: 11.7 MB / 0.5762 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.000139/0.5263, allocations: 158.3 kB / 0.7373 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.49e-05/0.5264, allocations: 23.72 kB / 0.7373 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004128/0.5268, allocations: 204.3 kB / 0.7375 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.5268, allocations: 0 / 0.7375 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.5268, allocations: 0 / 0.7375 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.5268, allocations: 7.984 kB / 0.7375 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009419/0.5278, allocations: 0.6873 MB / 0.7382 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.5278, allocations: 0 / 0.7382 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/0.5279, allocations: 31.92 kB / 0.7382 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.5279, allocations: 3.938 kB / 0.7382 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.528, allocations: 4 kB / 0.7382 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.528, allocations: 7.938 kB / 0.7382 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.528, allocations: 0 / 0.7382 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000381/0.5284, allocations: 337.3 kB / 0.7385 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/0.5285, allocations: 120.7 kB / 0.7386 GB, free: 9.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.664e-05/0.5285, allocations: 4 kB / 0.7386 GB, free: 9.977 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.5287, allocations: 19.92 kB / 0.7387 GB, free: 9.957 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.184e-05/0.5287, allocations: 7.984 kB / 0.7387 GB, free: 9.949 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.5287, allocations: 8.062 kB / 0.7387 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001846/0.5289, allocations: 223 kB / 0.7389 GB, free: 9.723 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.31e-07/0.5289, allocations: 0 / 0.7389 GB, free: 9.723 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003428/0.5293, allocations: 75.84 kB / 0.739 GB, free: 9.648 MB / 0.5762 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.0003307/0.5296, allocations: 154.7 kB / 0.7391 GB, free: 9.492 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003586/0.53, allocations: 161.2 kB / 0.7393 GB, free: 9.336 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.53, allocations: 0 / 0.7393 GB, free: 9.336 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001609/0.5302, allocations: 79.89 kB / 0.7393 GB, free: 9.258 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007382/0.5309, allocations: 164.8 kB / 0.7395 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007985/0.5317, allocations: 0.5367 MB / 0.74 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/0.5321, allocations: 0.7873 MB / 0.7408 GB, free: 7.707 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001517/0.5322, allocations: 58.92 kB / 0.7408 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.235e-05/0.5323, allocations: 23.44 kB / 0.7409 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of SimCode: time 2.4e-07/0.5323, allocations: 0 / 0.7409 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of Templates: time 0.008573/0.5408, allocations: 5.113 MB / 0.7459 GB, free: 2.605 MB / 0.5762 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)