Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface.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.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface") translateModel(IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009337/0.0009335, allocations: 97.52 kB / 15.69 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 170.5 kB / 16.56 MB, free: 6.391 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.327/1.327, allocations: 223.2 MB / 240.5 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6864/0.6864, allocations: 113.8 MB / 405.4 MB, free: 4.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003218/0.0003221, allocations: 11.98 kB / 493 MB, free: 8.602 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1338, allocations: 77.15 MB / 0.5568 GB, free: 11.65 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.001689/0.1355, allocations: 1.29 MB / 0.5581 GB, free: 10.36 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006323/0.1362, allocations: 320.1 kB / 0.5584 GB, free: 10.04 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.636e-05/0.1362, allocations: 0 / 0.5584 GB, free: 10.04 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.669e-05/0.1363, allocations: 7.922 kB / 0.5584 GB, free: 10.03 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.41e-05/0.1363, allocations: 15.97 kB / 0.5584 GB, free: 10.02 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002629/0.1366, allocations: 63.86 kB / 0.5585 GB, free: 9.953 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001137/0.1367, allocations: 67.86 kB / 0.5585 GB, free: 9.887 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.1369, allocations: 31.95 kB / 0.5586 GB, free: 9.855 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.835e-05/0.1369, allocations: 31.86 kB / 0.5586 GB, free: 9.824 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.377e-05/0.137, allocations: 31.84 kB / 0.5586 GB, free: 9.793 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.866e-05/0.137, allocations: 4 kB / 0.5586 GB, free: 9.789 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.935e-05/0.1371, allocations: 35.95 kB / 0.5587 GB, free: 9.754 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.015e-05/0.1372, allocations: 11.92 kB / 0.5587 GB, free: 9.742 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.685e-05/0.1372, allocations: 45.64 kB / 0.5587 GB, free: 9.691 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001152/0.1373, allocations: 72.08 kB / 0.5588 GB, free: 9.621 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.34e-05/0.1373, allocations: 0 / 0.5588 GB, free: 9.621 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1374, allocations: 0 / 0.5588 GB, free: 9.621 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.1374, allocations: 0 / 0.5588 GB, free: 9.621 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005423/0.1379, allocations: 393.1 kB / 0.5592 GB, free: 9.191 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.138, allocations: 12.02 kB / 0.5592 GB, free: 9.18 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001475/0.1394, allocations: 183.7 kB / 0.5594 GB, free: 9 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.1396, allocations: 170.9 kB / 0.5595 GB, free: 8.793 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.1396, allocations: 8 kB / 0.5595 GB, free: 8.785 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.528e-05/0.1396, allocations: 11.95 kB / 0.5595 GB, free: 8.773 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006503/0.1403, allocations: 181.5 kB / 0.5597 GB, free: 8.59 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.1403, allocations: 3.938 kB / 0.5597 GB, free: 8.586 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/0.1403, allocations: 4 kB / 0.5597 GB, free: 8.582 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.1404, allocations: 0 / 0.5597 GB, free: 8.582 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009722/0.1413, allocations: 211.8 kB / 0.5599 GB, free: 8.375 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001202/0.1426, allocations: 484.2 kB / 0.5604 GB, free: 7.852 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001137/0.1437, allocations: 210.3 kB / 0.5606 GB, free: 7.637 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.918e-05/0.1437, allocations: 4.062 kB / 0.5606 GB, free: 7.633 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.1438, allocations: 34.56 kB / 0.5606 GB, free: 7.59 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.1438, allocations: 0 / 0.5606 GB, free: 7.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.001203/0.145, allocations: 261.5 kB / 0.5609 GB, free: 7.328 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/0.145, allocations: 55.41 kB / 0.5609 GB, free: 7.262 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000249/0.1453, allocations: 197.6 kB / 0.5611 GB, free: 7.062 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.1453, allocations: 25.7 kB / 0.5611 GB, free: 7.031 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.475e-05/0.1454, allocations: 104 kB / 0.5612 GB, free: 6.926 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.522e-05/0.1454, allocations: 15.89 kB / 0.5613 GB, free: 6.91 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.354e-05/0.1455, allocations: 4 kB / 0.5613 GB, free: 6.906 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.1456, allocations: 314.8 kB / 0.5616 GB, free: 6.59 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000478/0.146, allocations: 91.91 kB / 0.5616 GB, free: 6.5 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004625/0.1465, allocations: 110.5 kB / 0.5618 GB, free: 6.383 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000452/0.147, allocations: 91.86 kB / 0.5618 GB, free: 6.293 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.147, allocations: 3.938 kB / 0.5618 GB, free: 6.289 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001055/0.1481, allocations: 249.4 kB / 0.5621 GB, free: 6.039 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001116/0.1482, allocations: 263 kB / 0.5623 GB, free: 5.762 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.1482, allocations: 4 kB / 0.5623 GB, free: 5.758 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.1482, allocations: 0 / 0.5623 GB, free: 5.758 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003387/0.1486, allocations: 59.92 kB / 0.5624 GB, free: 5.699 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.1486, allocations: 0 / 0.5624 GB, free: 5.699 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003852/0.149, allocations: 51.75 kB / 0.5624 GB, free: 5.648 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.813e-05/0.149, allocations: 7.984 kB / 0.5625 GB, free: 5.641 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.857e-06/0.149, allocations: 5.719 kB / 0.5625 GB, free: 5.637 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004017/0.1494, allocations: 103.9 kB / 0.5626 GB, free: 5.535 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-06/0.1494, allocations: 4 kB / 0.5626 GB, free: 5.531 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.815e-06/0.1494, allocations: 0 / 0.5626 GB, free: 5.531 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.1496, allocations: 27.98 kB / 0.5626 GB, free: 5.504 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.984e-06/0.1496, allocations: 4 kB / 0.5626 GB, free: 5.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000173/0.1498, allocations: 27.81 kB / 0.5626 GB, free: 5.473 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.719e-06/0.1498, allocations: 8 kB / 0.5626 GB, free: 5.465 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (7): * Single equations (assignments): 7 * 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 0.0001203/0.1499, allocations: 193.1 kB / 0.5628 GB, free: 5.266 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.799e-05/0.15, allocations: 11.86 kB / 0.5628 GB, free: 5.254 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.705e-05/0.15, allocations: 12.23 kB / 0.5628 GB, free: 5.234 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.15, allocations: 0 / 0.5628 GB, free: 5.234 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.15, allocations: 0 / 0.5628 GB, free: 5.234 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.1501, allocations: 3.938 kB / 0.5628 GB, free: 5.23 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002244/0.1503, allocations: 209.6 kB / 0.563 GB, free: 4.977 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1503, allocations: 0 / 0.563 GB, free: 4.977 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002325/0.1505, allocations: 35.95 kB / 0.5631 GB, free: 4.941 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.1505, allocations: 3.953 kB / 0.5631 GB, free: 4.938 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.1506, allocations: 4.188 kB / 0.5631 GB, free: 4.934 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1506, allocations: 0 / 0.5631 GB, free: 4.934 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.1506, allocations: 3.984 kB / 0.5631 GB, free: 4.93 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007986/0.1514, allocations: 283.2 kB / 0.5634 GB, free: 4.637 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.548e-05/0.1515, allocations: 101 kB / 0.5634 GB, free: 4.52 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.154e-05/0.1515, allocations: 7.953 kB / 0.5635 GB, free: 4.512 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002937/0.1518, allocations: 27.97 kB / 0.5635 GB, free: 4.484 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.005e-05/0.1518, allocations: 11.92 kB / 0.5635 GB, free: 4.473 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.236e-06/0.1519, allocations: 0 / 0.5635 GB, free: 4.473 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001891/0.1521, allocations: 154.7 kB / 0.5636 GB, free: 4.324 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1521, allocations: 0 / 0.5636 GB, free: 4.324 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003512/0.1524, allocations: 36 kB / 0.5637 GB, free: 4.289 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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.0001161/0.1525, allocations: 99.94 kB / 0.5638 GB, free: 4.184 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001058/0.1536, allocations: 227.7 kB / 0.564 GB, free: 3.961 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.1536, allocations: 0 / 0.564 GB, free: 3.961 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003621/0.154, allocations: 80.11 kB / 0.5641 GB, free: 3.883 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002142/0.1542, allocations: 12 kB / 0.5641 GB, free: 3.871 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000872/0.1551, allocations: 290.2 kB / 0.5644 GB, free: 3.566 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002385/0.1553, allocations: 0.6965 MB / 0.565 GB, free: 2.844 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001766/0.1555, allocations: 23.98 kB / 0.5651 GB, free: 2.82 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.515e-05/0.1556, allocations: 19.41 kB / 0.5651 GB, free: 2.801 MB / 430.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1556, allocations: 4 kB / 0.5651 GB, free: 2.797 MB / 430.1 MB Notification: Performance of Templates: time 0.003841/0.1595, allocations: 1.505 MB / 0.5665 GB, free: 1.309 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & ./IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1)