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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 177.4 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5137/0.5137, allocations: 90.92 MB / 99.35 MB, free: 2.211 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 221.5 MB / 343.2 MB, free: 1.605 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008148/0.0008147, allocations: 87.95 kB / 415.9 MB, free: 11.18 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.838e-05/1.84e-05, allocations: 4 kB / 494.5 MB, free: 52.4 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1555, allocations: 72.33 MB / 0.5535 GB, free: 12.27 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5013/0.6568, allocations: 101.8 MB / 0.653 GB, free: 8.395 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002239/0.6571, allocations: 78.77 kB / 0.6531 GB, free: 8.352 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009461/0.6666, allocations: 3.354 MB / 0.6563 GB, free: 5.543 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.6666, allocations: 0 / 0.6563 GB, free: 5.543 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.231e-05/0.6666, allocations: 0 / 0.6563 GB, free: 5.543 MB / 458.7 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.0005159/0.6672, allocations: 392.9 kB / 0.6567 GB, free: 5.121 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/0.6672, allocations: 8.031 kB / 0.6567 GB, free: 5.113 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001138/0.6684, allocations: 142.3 kB / 0.6569 GB, free: 4.977 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001578/0.6686, allocations: 172.9 kB / 0.657 GB, free: 4.77 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.349e-05/0.6686, allocations: 4 kB / 0.657 GB, free: 4.766 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.491e-05/0.6686, allocations: 4 kB / 0.657 GB, free: 4.762 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002048/0.6688, allocations: 77.73 kB / 0.6571 GB, free: 4.715 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001979/0.669, allocations: 114.5 kB / 0.6572 GB, free: 4.617 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.6691, allocations: 0 / 0.6572 GB, free: 4.617 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.003e-05/0.6691, allocations: 7.984 kB / 0.6572 GB, free: 4.609 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.6691, allocations: 4.703 kB / 0.6572 GB, free: 4.605 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001248/0.6704, allocations: 457.2 kB / 0.6577 GB, free: 4.172 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003155/0.6707, allocations: 87.2 kB / 0.6578 GB, free: 4.094 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.048e-05/0.6708, allocations: 27.25 kB / 0.6578 GB, free: 4.074 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.6708, allocations: 4 kB / 0.6578 GB, free: 4.07 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.6708, allocations: 31.44 kB / 0.6578 GB, free: 4.031 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 3.326e-06/0.6708, allocations: 4 kB / 0.6578 GB, free: 4.027 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.000228/0.6711, allocations: 75.91 kB / 0.6579 GB, free: 3.957 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.6711, allocations: 55.34 kB / 0.6579 GB, free: 3.891 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.6713, allocations: 137.2 kB / 0.6581 GB, free: 3.766 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.6713, allocations: 25.7 kB / 0.6581 GB, free: 3.734 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.436e-05/0.6714, allocations: 110.9 kB / 0.6582 GB, free: 3.629 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.381e-05/0.6714, allocations: 11.84 kB / 0.6582 GB, free: 3.617 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.251e-05/0.6714, allocations: 0 / 0.6582 GB, free: 3.617 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.6715, allocations: 326.2 kB / 0.6585 GB, free: 3.293 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.414e-05/0.6716, allocations: 33.86 kB / 0.6586 GB, free: 3.273 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.313e-05/0.6717, allocations: 45.38 kB / 0.6586 GB, free: 3.23 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.564e-05/0.6717, allocations: 26.19 kB / 0.6586 GB, free: 3.215 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.6717, allocations: 0 / 0.6586 GB, free: 3.215 MB / 458.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002032/0.672, allocations: 114.9 kB / 0.6587 GB, free: 3.117 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001249/0.6721, allocations: 277 kB / 0.659 GB, free: 2.832 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.6721, allocations: 0 / 0.659 GB, free: 2.832 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.458e-05/0.6721, allocations: 4 kB / 0.659 GB, free: 2.828 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000343/0.6725, allocations: 51.88 kB / 0.6591 GB, free: 2.777 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.6725, allocations: 0 / 0.6591 GB, free: 2.777 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003816/0.6729, allocations: 51.12 kB / 0.6591 GB, free: 2.73 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.984e-05/0.6729, allocations: 4 kB / 0.6591 GB, free: 2.727 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.6729, allocations: 5.406 kB / 0.6591 GB, free: 2.723 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000105/0.673, allocations: 37.55 kB / 0.6591 GB, free: 2.695 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.6731, allocations: 4 kB / 0.6591 GB, free: 2.691 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.059e-06/0.6731, allocations: 3.984 kB / 0.6592 GB, free: 2.688 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.6732, allocations: 24.05 kB / 0.6592 GB, free: 2.664 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.6732, allocations: 4 kB / 0.6592 GB, free: 2.66 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001771/0.6734, allocations: 27.56 kB / 0.6592 GB, free: 2.637 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.6734, allocations: 0 / 0.6592 GB, free: 2.637 MB / 458.7 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 () * 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 9.031e-05/0.6735, allocations: 112.9 kB / 0.6593 GB, free: 2.52 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.71e-05/0.6736, allocations: 3.906 kB / 0.6593 GB, free: 2.516 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.461e-05/0.6736, allocations: 8.344 kB / 0.6593 GB, free: 2.504 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.6736, allocations: 0 / 0.6593 GB, free: 2.504 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.6736, allocations: 0 / 0.6593 GB, free: 2.504 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.6737, allocations: 3.938 kB / 0.6593 GB, free: 2.5 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002061/0.6739, allocations: 191.3 kB / 0.6595 GB, free: 2.293 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.6739, allocations: 0 / 0.6595 GB, free: 2.293 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002374/0.6741, allocations: 39.95 kB / 0.6596 GB, free: 2.254 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.6741, allocations: 0 / 0.6596 GB, free: 2.254 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.6742, allocations: 3.984 kB / 0.6596 GB, free: 2.25 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.6742, allocations: 0 / 0.6596 GB, free: 2.25 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/0.6742, allocations: 0 / 0.6596 GB, free: 2.25 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002043/0.6744, allocations: 176 kB / 0.6597 GB, free: 2.078 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.956e-05/0.6745, allocations: 92.25 kB / 0.6598 GB, free: 1.973 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.859e-05/0.6745, allocations: 4.062 kB / 0.6598 GB, free: 1.969 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003/0.6748, allocations: 43.89 kB / 0.6599 GB, free: 1.926 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.291e-05/0.6749, allocations: 0 / 0.6599 GB, free: 1.926 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.6749, allocations: 11.48 kB / 0.6599 GB, free: 1.918 MB / 458.7 MB Notification: Performance of sorting global known variables: time 8.189e-05/0.675, allocations: 109.8 kB / 0.66 GB, free: 1.824 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.675, allocations: 0 / 0.66 GB, free: 1.824 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003421/0.6753, allocations: 43.83 kB / 0.66 GB, free: 1.781 MB / 458.7 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 () * 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.0001533/0.6755, allocations: 103.2 kB / 0.6601 GB, free: 1.672 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002266/0.6757, allocations: 93.02 kB / 0.6602 GB, free: 1.605 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.6757, allocations: 0 / 0.6602 GB, free: 1.605 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 5.151e-05/0.6758, allocations: 26.97 kB / 0.6602 GB, free: 1.586 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002042/0.676, allocations: 9.453 kB / 0.6602 GB, free: 1.582 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005687/0.6766, allocations: 142.8 kB / 0.6604 GB, free: 1.43 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002711/0.6769, allocations: 0.6963 MB / 0.6611 GB, free: 0.707 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001999/0.6771, allocations: 23.98 kB / 0.6611 GB, free: 0.6836 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.271e-05/0.6771, allocations: 18.48 kB / 0.6611 GB, free: 0.668 MB / 458.7 MB Notification: Performance of SimCode: time 2.61e-07/0.6771, allocations: 0 / 0.6611 GB, free: 0.668 MB / 458.7 MB Notification: Performance of Templates: time 0.003925/0.6811, allocations: 1.434 MB / 0.6625 GB, free: 15.24 MB / 474.7 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)