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.001073/0.001073, allocations: 106.3 kB / 15.98 MB, free: 5.906 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.001043/0.001043, allocations: 187.5 kB / 16.9 MB, free: 5.758 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.38/1.38, allocations: 222.9 MB / 240.6 MB, free: 13.7 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7586/0.7586, allocations: 122.9 MB / 413.6 MB, free: 15.9 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002328/0.002329, allocations: 67.89 kB / 0.4906 GB, free: 7.707 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4094/0.4118, allocations: 77.93 MB / 0.5667 GB, free: 32.02 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.1888/0.6006, allocations: 165.3 MB / 0.7281 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00798/0.6087, allocations: 6.474 MB / 0.7344 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006163/0.6093, allocations: 19.88 kB / 0.7345 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006135/0.6099, allocations: 143.1 kB / 0.7346 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002478/0.6125, allocations: 0.7821 MB / 0.7354 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00099/0.6135, allocations: 297.7 kB / 0.7356 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008463/0.6143, allocations: 0.7211 MB / 0.7363 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000382/0.6147, allocations: 262.8 kB / 0.7366 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001115/0.6159, allocations: 0.5565 MB / 0.7371 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003734/0.6163, allocations: 282.9 kB / 0.7374 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.026e-05/0.6163, allocations: 20 kB / 0.7374 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006571/0.617, allocations: 351.1 kB / 0.7378 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001511/0.6171, allocations: 103.7 kB / 0.7379 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001707/0.6173, allocations: 167.2 kB / 0.738 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006791/0.618, allocations: 486.5 kB / 0.7385 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.618, allocations: 0 / 0.7385 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.126e-06/0.618, allocations: 0 / 0.7385 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.197e-06/0.618, allocations: 3.938 kB / 0.7385 GB, free: 10.47 MB / 0.5762 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.0008788/0.6189, allocations: 0.6232 MB / 0.7391 GB, free: 9.801 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.619, allocations: 8.625 kB / 0.7391 GB, free: 9.793 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00034/0.6193, allocations: 63.5 kB / 0.7392 GB, free: 9.73 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003956/0.6197, allocations: 317.2 kB / 0.7395 GB, free: 9.383 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/0.6198, allocations: 16.56 kB / 0.7395 GB, free: 9.367 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.063e-05/0.6198, allocations: 28 kB / 0.7395 GB, free: 9.34 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005553/0.6204, allocations: 315.6 kB / 0.7398 GB, free: 9.004 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.6204, allocations: 4 kB / 0.7398 GB, free: 9 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.654e-05/0.6204, allocations: 12 kB / 0.7398 GB, free: 8.988 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.6204, allocations: 8 kB / 0.7398 GB, free: 8.98 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004263/0.6209, allocations: 201.6 kB / 0.74 GB, free: 8.781 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.001647/0.6225, allocations: 1.53 MB / 0.7415 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002661/0.6228, allocations: 130.5 kB / 0.7416 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001978/0.623, allocations: 88.8 kB / 0.7417 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006738/0.6237, allocations: 303.2 kB / 0.742 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.6237, allocations: 38.56 kB / 0.7421 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.562e-06/0.6237, allocations: 0 / 0.7421 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0007562/0.6245, allocations: 267.9 kB / 0.7423 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/0.6246, allocations: 51.41 kB / 0.7424 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003217/0.6249, allocations: 316.5 kB / 0.7427 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.6249, allocations: 33.64 kB / 0.7427 GB, free: 5.812 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/0.6251, allocations: 180.2 kB / 0.7429 GB, free: 5.633 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.987e-05/0.6251, allocations: 47.34 kB / 0.7429 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.052e-05/0.6252, allocations: 37.7 kB / 0.7429 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.6253, allocations: 338.8 kB / 0.7433 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001508/0.6255, allocations: 59.86 kB / 0.7433 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002075/0.6257, allocations: 123.2 kB / 0.7434 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003253/0.626, allocations: 171.8 kB / 0.7436 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.626, allocations: 3.938 kB / 0.7436 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004078/0.6265, allocations: 217.1 kB / 0.7438 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.6265, allocations: 4 kB / 0.7438 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.6265, allocations: 0 / 0.7438 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.6265, allocations: 4.156 kB / 0.7438 GB, free: 4.594 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.6267, allocations: 39.92 kB / 0.7439 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.6267, allocations: 4 kB / 0.7439 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001969/0.6269, allocations: 39.66 kB / 0.7439 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.766e-05/0.6269, allocations: 8 kB / 0.7439 GB, free: 4.504 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.0001608/0.6271, allocations: 149.8 kB / 0.7441 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.417e-05/0.6272, allocations: 31.66 kB / 0.7441 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004424/0.6276, allocations: 212.5 kB / 0.7443 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.6276, allocations: 4.031 kB / 0.7443 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.6277, allocations: 7.938 kB / 0.7443 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.6277, allocations: 0 / 0.7443 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001095/0.6288, allocations: 0.6796 MB / 0.745 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.6288, allocations: 0 / 0.745 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000136/0.6289, allocations: 27.92 kB / 0.745 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.6289, allocations: 4.219 kB / 0.745 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.629, allocations: 8 kB / 0.745 GB, free: 3.293 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/0.629, allocations: 11.92 kB / 0.745 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.629, allocations: 0 / 0.745 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004505/0.6294, allocations: 333 kB / 0.7453 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.6296, allocations: 116.8 kB / 0.7454 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.917e-05/0.6296, allocations: 4 kB / 0.7454 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001975/0.6298, allocations: 27.92 kB / 0.7455 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.831e-05/0.6299, allocations: 11.92 kB / 0.7455 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.6299, allocations: 4 kB / 0.7455 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002207/0.6301, allocations: 227 kB / 0.7457 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.5e-07/0.6301, allocations: 0 / 0.7457 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004005/0.6305, allocations: 75.84 kB / 0.7458 GB, free: 2.441 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.0003876/0.6309, allocations: 155.9 kB / 0.7459 GB, free: 2.285 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004091/0.6313, allocations: 159.8 kB / 0.7461 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.6313, allocations: 0 / 0.7461 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001832/0.6315, allocations: 87.83 kB / 0.7462 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007973/0.6323, allocations: 156.8 kB / 0.7463 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008849/0.6332, allocations: 0.6343 MB / 0.7469 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000369/0.6336, allocations: 0.7834 MB / 0.7477 GB, free: 420 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002069/0.6338, allocations: 70.88 kB / 0.7478 GB, free: 348 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.844e-05/0.6339, allocations: 19.44 kB / 0.7478 GB, free: 328 kB / 0.5762 GB Notification: Performance of SimCode: time 2.81e-07/0.6339, allocations: 4 kB / 0.7478 GB, free: 324 kB / 0.5762 GB Notification: Performance of Templates: time 0.2744/0.9083, allocations: 5.03 MB / 0.7527 GB, free: 171.9 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)