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.001002/0.001002, allocations: 179.5 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4896/0.4896, allocations: 90.81 MB / 104.5 MB, free: 13.88 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 221.3 MB / 348.3 MB, free: 12.54 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009758/0.0009759, allocations: 94.33 kB / 421.2 MB, free: 5.684 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.958e-05/2.959e-05, allocations: 6.031 kB / 0.4896 GB, free: 46.61 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1325, allocations: 72.32 MB / 0.5602 GB, free: 6.387 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4764/0.6089, allocations: 102.5 MB / 0.6603 GB, free: 5.348 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001886/0.6092, allocations: 87.06 kB / 0.6604 GB, free: 5.297 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009017/0.6182, allocations: 3.374 MB / 0.6637 GB, free: 2.426 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.6182, allocations: 0 / 0.6637 GB, free: 2.426 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.843e-05/0.6183, allocations: 8 kB / 0.6637 GB, free: 2.418 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.000437/0.6187, allocations: 384.9 kB / 0.6641 GB, free: 2.004 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.6187, allocations: 11.98 kB / 0.6641 GB, free: 1.992 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001084/0.6198, allocations: 143.2 kB / 0.6642 GB, free: 1.855 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.62, allocations: 174.9 kB / 0.6644 GB, free: 1.645 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.6201, allocations: 7.25 kB / 0.6644 GB, free: 1.641 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.087e-05/0.6201, allocations: 4 kB / 0.6644 GB, free: 1.637 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000281/0.6204, allocations: 126.2 kB / 0.6645 GB, free: 1.535 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.6204, allocations: 0 / 0.6645 GB, free: 1.535 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.301e-05/0.6204, allocations: 7.5 kB / 0.6645 GB, free: 1.531 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.6204, allocations: 3.938 kB / 0.6646 GB, free: 1.527 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001974/0.6206, allocations: 83.31 kB / 0.6646 GB, free: 1.473 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001297/0.6219, allocations: 497.2 kB / 0.6651 GB, free: 0.9961 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003321/0.6223, allocations: 85.97 kB / 0.6652 GB, free: 0.918 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.851e-05/0.6224, allocations: 27.81 kB / 0.6652 GB, free: 0.8945 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.6224, allocations: 0 / 0.6652 GB, free: 0.8945 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.196e-05/0.6224, allocations: 41.75 kB / 0.6653 GB, free: 0.8477 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.6225, allocations: 0 / 0.6653 GB, free: 0.8477 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002526/0.6227, allocations: 78.38 kB / 0.6653 GB, free: 0.7773 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/0.6228, allocations: 55.36 kB / 0.6654 GB, free: 0.7109 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002043/0.623, allocations: 160.5 kB / 0.6655 GB, free: 0.5703 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/0.623, allocations: 25.7 kB / 0.6656 GB, free: 0.5391 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.984e-05/0.6231, allocations: 105.8 kB / 0.6657 GB, free: 452 kB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.252e-05/0.6231, allocations: 27.03 kB / 0.6657 GB, free: 428 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.066e-05/0.6231, allocations: 0 / 0.6657 GB, free: 428 kB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.6233, allocations: 318.2 kB / 0.666 GB, free: 104 kB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.542e-05/0.6234, allocations: 33.23 kB / 0.666 GB, free: 84 kB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.645e-05/0.6235, allocations: 51.31 kB / 0.6661 GB, free: 36 kB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.758e-05/0.6236, allocations: 28.05 kB / 0.6661 GB, free: 16 kB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.6236, allocations: 0 / 0.6661 GB, free: 16 kB / 458.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002535/0.6238, allocations: 116.8 kB / 0.6662 GB, free: 15.92 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001472/0.624, allocations: 277.3 kB / 0.6665 GB, free: 15.63 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.624, allocations: 0 / 0.6665 GB, free: 15.63 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.624, allocations: 0 / 0.6665 GB, free: 15.63 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003429/0.6244, allocations: 51.97 kB / 0.6665 GB, free: 15.58 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.6244, allocations: 3.938 kB / 0.6665 GB, free: 15.58 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004165/0.6248, allocations: 55.45 kB / 0.6666 GB, free: 15.53 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.947e-05/0.6248, allocations: 3.984 kB / 0.6666 GB, free: 15.52 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.514e-06/0.6249, allocations: 4.938 kB / 0.6666 GB, free: 15.52 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001153/0.625, allocations: 50.3 kB / 0.6666 GB, free: 15.48 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-06/0.625, allocations: 4.062 kB / 0.6666 GB, free: 15.48 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-06/0.625, allocations: 0 / 0.6666 GB, free: 15.48 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.6251, allocations: 27.97 kB / 0.6667 GB, free: 15.45 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.583e-06/0.6251, allocations: 0 / 0.6667 GB, free: 15.45 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001765/0.6253, allocations: 23.84 kB / 0.6667 GB, free: 15.43 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.327e-06/0.6253, allocations: 8 kB / 0.6667 GB, free: 15.42 MB / 474.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 7.811e-05/0.6254, allocations: 112.2 kB / 0.6668 GB, free: 15.31 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.851e-05/0.6255, allocations: 11.91 kB / 0.6668 GB, free: 15.3 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.119e-05/0.6255, allocations: 7.406 kB / 0.6668 GB, free: 15.29 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.6255, allocations: 4 kB / 0.6668 GB, free: 15.28 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.6256, allocations: 0 / 0.6668 GB, free: 15.28 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.6256, allocations: 11.92 kB / 0.6668 GB, free: 15.27 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002245/0.6258, allocations: 211 kB / 0.667 GB, free: 15.03 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.6258, allocations: 4 kB / 0.667 GB, free: 15.03 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002373/0.626, allocations: 31.95 kB / 0.6671 GB, free: 15 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.6261, allocations: 0 / 0.6671 GB, free: 15 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.6261, allocations: 10.61 kB / 0.6671 GB, free: 14.99 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.6261, allocations: 0 / 0.6671 GB, free: 14.99 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.6261, allocations: 4 kB / 0.6671 GB, free: 14.98 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001952/0.6263, allocations: 177.3 kB / 0.6673 GB, free: 14.81 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.165e-05/0.6264, allocations: 96.3 kB / 0.6673 GB, free: 14.7 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.796e-05/0.6264, allocations: 3.562 kB / 0.6673 GB, free: 14.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002936/0.6267, allocations: 35.91 kB / 0.6674 GB, free: 14.66 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.802e-05/0.6268, allocations: 7.984 kB / 0.6674 GB, free: 14.66 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.987e-06/0.6268, allocations: 0 / 0.6674 GB, free: 14.66 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001007/0.6269, allocations: 140.6 kB / 0.6675 GB, free: 14.54 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.953e-06/0.6269, allocations: 0 / 0.6675 GB, free: 14.54 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003033/0.6272, allocations: 39.94 kB / 0.6676 GB, free: 14.5 MB / 474.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.0001365/0.6274, allocations: 104.2 kB / 0.6677 GB, free: 14.39 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002247/0.6276, allocations: 91.47 kB / 0.6677 GB, free: 14.33 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.6276, allocations: 4 kB / 0.6678 GB, free: 14.33 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 5.31e-05/0.6277, allocations: 26.78 kB / 0.6678 GB, free: 14.31 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001744/0.6278, allocations: 6.828 kB / 0.6678 GB, free: 14.3 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005166/0.6284, allocations: 151 kB / 0.6679 GB, free: 14.15 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.6287, allocations: 0.697 MB / 0.6686 GB, free: 13.43 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001885/0.6289, allocations: 27.98 kB / 0.6686 GB, free: 13.4 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.396e-05/0.6289, allocations: 23.41 kB / 0.6687 GB, free: 13.38 MB / 474.7 MB Notification: Performance of SimCode: time 1.483e-06/0.6289, allocations: 0 / 0.6687 GB, free: 13.38 MB / 474.7 MB Notification: Performance of Templates: time 0.003623/0.6326, allocations: 1.661 MB / 0.6703 GB, free: 11.73 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)