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.001096/0.001096, allocations: 106.4 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.001031/0.001031, 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.253/1.253, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6649/0.6649, allocations: 115.1 MB / 406.9 MB, free: 6.305 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 67.89 kB / 494.8 MB, free: 15.83 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3277, allocations: 76.15 MB / 0.5576 GB, free: 36.9 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002577/0.3303, allocations: 1.601 MB / 0.5591 GB, free: 35.8 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005191/0.3308, allocations: 324.3 kB / 0.5594 GB, free: 35.59 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4e-05/0.3309, allocations: 3.688 kB / 0.5594 GB, free: 35.59 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.932e-05/0.3309, allocations: 9.141 kB / 0.5594 GB, free: 35.58 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.002e-05/0.331, allocations: 21.53 kB / 0.5595 GB, free: 35.57 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002494/0.3312, allocations: 89.27 kB / 0.5596 GB, free: 35.52 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001107/0.3313, allocations: 101.9 kB / 0.5597 GB, free: 35.48 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.63e-05/0.3314, allocations: 51.09 kB / 0.5597 GB, free: 35.45 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.873e-05/0.3315, allocations: 43.05 kB / 0.5597 GB, free: 35.43 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.407e-05/0.3316, allocations: 44.73 kB / 0.5598 GB, free: 35.41 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.66e-05/0.3316, allocations: 9 kB / 0.5598 GB, free: 35.41 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.235e-05/0.3317, allocations: 32.94 kB / 0.5598 GB, free: 35.4 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.969e-05/0.3317, allocations: 27.95 kB / 0.5599 GB, free: 35.38 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.525e-05/0.3318, allocations: 39.66 kB / 0.5599 GB, free: 35.36 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001327/0.3319, allocations: 113.8 kB / 0.56 GB, free: 35.31 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.3319, allocations: 0 / 0.56 GB, free: 35.31 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3319, allocations: 1.969 kB / 0.56 GB, free: 35.31 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.3319, allocations: 0 / 0.56 GB, free: 35.31 MB / 446.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.0004406/0.3324, allocations: 406.1 kB / 0.5604 GB, free: 34.91 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.3324, allocations: 10.97 kB / 0.5604 GB, free: 34.91 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001305/0.3337, allocations: 163.7 kB / 0.5606 GB, free: 34.91 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.331e-05/0.3338, allocations: 178.8 kB / 0.5607 GB, free: 34.7 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.3338, allocations: 10.53 kB / 0.5607 GB, free: 34.7 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.564e-05/0.3339, allocations: 4.953 kB / 0.5607 GB, free: 34.7 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005878/0.3345, allocations: 170.7 kB / 0.5609 GB, free: 34.64 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.3345, allocations: 3.375 kB / 0.5609 GB, free: 34.64 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/0.3345, allocations: 7.938 kB / 0.5609 GB, free: 34.63 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.3345, allocations: 3.812 kB / 0.5609 GB, free: 34.63 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000848/0.3354, allocations: 182.2 kB / 0.5611 GB, free: 34.6 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/0.3365, allocations: 477.6 kB / 0.5615 GB, free: 34.25 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.3375, allocations: 184.3 kB / 0.5617 GB, free: 34.21 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003312/0.3378, allocations: 66.81 kB / 0.5618 GB, free: 34.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.3378, allocations: 1.75 kB / 0.5618 GB, free: 34.2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.474e-05/0.3379, allocations: 40.62 kB / 0.5618 GB, free: 34.15 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.332e-06/0.3379, allocations: 0 / 0.5618 GB, free: 34.15 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.001039/0.3389, allocations: 222.3 kB / 0.562 GB, free: 34.09 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.339, allocations: 56.41 kB / 0.5621 GB, free: 34.02 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002093/0.3392, allocations: 194.5 kB / 0.5623 GB, free: 33.89 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.3392, allocations: 25.7 kB / 0.5623 GB, free: 33.86 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.35e-05/0.3392, allocations: 111.4 kB / 0.5624 GB, free: 33.76 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.16e-05/0.3393, allocations: 8.391 kB / 0.5624 GB, free: 33.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.19e-05/0.3393, allocations: 29.52 kB / 0.5624 GB, free: 33.73 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.547e-05/0.3394, allocations: 319.5 kB / 0.5627 GB, free: 33.42 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000421/0.3398, allocations: 93 kB / 0.5628 GB, free: 33.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004074/0.3402, allocations: 101 kB / 0.5629 GB, free: 33.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006873/0.3409, allocations: 158 kB / 0.5631 GB, free: 33.31 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.3409, allocations: 0 / 0.5631 GB, free: 33.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0008841/0.3418, allocations: 222 kB / 0.5633 GB, free: 33.24 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.3419, allocations: 6.25 kB / 0.5633 GB, free: 33.24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.3419, allocations: 5.312 kB / 0.5633 GB, free: 33.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.3419, allocations: 6.547 kB / 0.5633 GB, free: 33.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000304/0.3422, allocations: 44.91 kB / 0.5634 GB, free: 33.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.3422, allocations: 1.062 kB / 0.5634 GB, free: 33.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003639/0.3426, allocations: 45.39 kB / 0.5634 GB, free: 33.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.3426, allocations: 6.516 kB / 0.5634 GB, free: 33.22 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001785/0.3428, allocations: 123.3 kB / 0.5635 GB, free: 33.13 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001543/0.3429, allocations: 76.61 kB / 0.5636 GB, free: 33.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002209/0.3432, allocations: 106.2 kB / 0.5637 GB, free: 33 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.082e-06/0.3432, allocations: 0 / 0.5637 GB, free: 33 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0003718/0.3436, allocations: 136.7 kB / 0.5638 GB, free: 32.94 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.134e-06/0.3436, allocations: 6.75 kB / 0.5638 GB, free: 32.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.575e-06/0.3436, allocations: 1.5 kB / 0.5638 GB, free: 32.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.855e-06/0.3436, allocations: 2.125 kB / 0.5638 GB, free: 32.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/0.3437, allocations: 34.42 kB / 0.5639 GB, free: 32.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.3438, allocations: 3.219 kB / 0.5639 GB, free: 32.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002274/0.344, allocations: 22.8 kB / 0.5639 GB, free: 32.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.344, allocations: 4.406 kB / 0.5639 GB, free: 32.93 MB / 446.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.718e-05/0.3441, allocations: 187.2 kB / 0.5641 GB, free: 32.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.646e-05/0.3441, allocations: 11.97 kB / 0.5641 GB, free: 32.74 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.329e-05/0.3442, allocations: 17.58 kB / 0.5641 GB, free: 32.72 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.3442, allocations: 0.6562 kB / 0.5641 GB, free: 32.72 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.3442, allocations: 1.219 kB / 0.5641 GB, free: 32.72 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.3442, allocations: 0 / 0.5641 GB, free: 32.72 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001754/0.3444, allocations: 203 kB / 0.5643 GB, free: 32.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.3444, allocations: 8.875 kB / 0.5643 GB, free: 32.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000216/0.3446, allocations: 41.41 kB / 0.5644 GB, free: 32.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3446, allocations: 0 / 0.5644 GB, free: 32.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.3446, allocations: 7.875 kB / 0.5644 GB, free: 32.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3446, allocations: 0.9062 kB / 0.5644 GB, free: 32.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3446, allocations: 0 / 0.5644 GB, free: 32.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006715/0.3453, allocations: 256.6 kB / 0.5646 GB, free: 32.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.276e-05/0.3454, allocations: 99.58 kB / 0.5647 GB, free: 32.24 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.773e-05/0.3454, allocations: 5 kB / 0.5647 GB, free: 32.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002744/0.3457, allocations: 27.83 kB / 0.5647 GB, free: 32.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.034e-05/0.3457, allocations: 7.047 kB / 0.5647 GB, free: 32.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.3457, allocations: 4.062 kB / 0.5647 GB, free: 32.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001522/0.3459, allocations: 145.5 kB / 0.5649 GB, free: 32.13 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3459, allocations: 1.625 kB / 0.5649 GB, free: 32.13 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003333/0.3462, allocations: 32.16 kB / 0.5649 GB, free: 32.13 MB / 446.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.718e-05/0.3463, allocations: 104.9 kB / 0.565 GB, free: 32.04 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009376/0.3473, allocations: 204.3 kB / 0.5652 GB, free: 32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3473, allocations: 3.938 kB / 0.5652 GB, free: 31.99 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003253/0.3476, allocations: 75.56 kB / 0.5653 GB, free: 31.97 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.3479, allocations: 9.922 kB / 0.5653 GB, free: 31.97 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000779/0.3487, allocations: 250.6 kB / 0.5655 GB, free: 31.81 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001052/0.3488, allocations: 0.6972 MB / 0.5662 GB, free: 31.11 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001238/0.349, allocations: 29.23 kB / 0.5662 GB, free: 31.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.305e-05/0.349, allocations: 19.02 kB / 0.5663 GB, free: 31.09 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.349, allocations: 1.125 kB / 0.5663 GB, free: 31.09 MB / 446.1 MB Notification: Performance of Templates: time 0.003821/0.3529, allocations: 1.67 MB / 0.5679 GB, free: 30.96 MB / 446.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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1)