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: "" <> buildModelFMU(IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Movers_BaseClasses_Validation_PowerInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Movers_BaseClasses_Validation_PowerInterface",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 179.2 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.467/0.467, allocations: 90.81 MB / 104.5 MB, free: 9.789 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.261/1.261, allocations: 221.3 MB / 348.3 MB, free: 484 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009414/0.0009415, allocations: 106.1 kB / 421.2 MB, free: 5.484 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.815e-05/3.836e-05, allocations: 4 kB / 0.4897 GB, free: 5.254 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3723/0.3724, allocations: 72.29 MB / 0.5603 GB, free: 40.42 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1218/0.4943, allocations: 102.5 MB / 0.6604 GB, free: 1.773 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002742/0.4946, allocations: 83.94 kB / 0.6605 GB, free: 1.691 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01019/0.5048, allocations: 3.389 MB / 0.6638 GB, free: 14.32 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.436e-06/0.5048, allocations: 4 kB / 0.6638 GB, free: 14.32 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.5049, allocations: 0 / 0.6638 GB, free: 14.32 MB / 490.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.0004412/0.5053, allocations: 386.2 kB / 0.6642 GB, free: 13.9 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.5054, allocations: 15.98 kB / 0.6642 GB, free: 13.88 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.32e-05/0.5054, allocations: 38.55 kB / 0.6642 GB, free: 13.84 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001078/0.5065, allocations: 139.7 kB / 0.6644 GB, free: 13.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001393/0.5067, allocations: 175.9 kB / 0.6645 GB, free: 13.49 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/0.5067, allocations: 8 kB / 0.6645 GB, free: 13.48 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.286e-05/0.5067, allocations: 4 kB / 0.6646 GB, free: 13.48 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002389/0.507, allocations: 122.8 kB / 0.6647 GB, free: 13.35 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.507, allocations: 0 / 0.6647 GB, free: 13.35 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.507, allocations: 0 / 0.6647 GB, free: 13.35 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.507, allocations: 4 kB / 0.6647 GB, free: 13.35 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001734/0.5072, allocations: 95.91 kB / 0.6648 GB, free: 13.25 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001166/0.5084, allocations: 488.2 kB / 0.6652 GB, free: 12.73 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003293/0.5087, allocations: 94.45 kB / 0.6653 GB, free: 12.62 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.755e-05/0.5088, allocations: 29 kB / 0.6653 GB, free: 12.59 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.5088, allocations: 0 / 0.6653 GB, free: 12.59 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.965e-05/0.5088, allocations: 34.56 kB / 0.6654 GB, free: 12.55 MB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.5088, allocations: 0 / 0.6654 GB, free: 12.55 MB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002208/0.5091, allocations: 77.58 kB / 0.6655 GB, free: 12.47 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.065e-05/0.5091, allocations: 63.94 kB / 0.6655 GB, free: 12.39 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.5093, allocations: 159 kB / 0.6657 GB, free: 12.23 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.5093, allocations: 25.7 kB / 0.6657 GB, free: 12.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.992e-05/0.5094, allocations: 111.9 kB / 0.6658 GB, free: 12.09 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.332e-05/0.5094, allocations: 7.906 kB / 0.6658 GB, free: 12.08 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.144e-05/0.5094, allocations: 4 kB / 0.6658 GB, free: 12.08 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.5095, allocations: 322.8 kB / 0.6661 GB, free: 11.75 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.13e-05/0.5096, allocations: 29.11 kB / 0.6661 GB, free: 11.73 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.252e-05/0.5097, allocations: 54.56 kB / 0.6662 GB, free: 11.66 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.55e-05/0.5098, allocations: 23.94 kB / 0.6662 GB, free: 11.64 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.5098, allocations: 0 / 0.6662 GB, free: 11.64 MB / 490.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002296/0.51, allocations: 125.4 kB / 0.6663 GB, free: 11.51 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001206/0.5102, allocations: 275 kB / 0.6666 GB, free: 11.22 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.5102, allocations: 0 / 0.6666 GB, free: 11.22 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.5102, allocations: 0 / 0.6666 GB, free: 11.22 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003374/0.5105, allocations: 59.88 kB / 0.6667 GB, free: 11.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.5105, allocations: 0 / 0.6667 GB, free: 11.16 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004017/0.5109, allocations: 51.88 kB / 0.6667 GB, free: 11.11 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.844e-05/0.511, allocations: 4 kB / 0.6667 GB, free: 11.11 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.605e-06/0.511, allocations: 6.438 kB / 0.6667 GB, free: 11.11 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000128/0.5111, allocations: 51.91 kB / 0.6668 GB, free: 11.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-06/0.5111, allocations: 0 / 0.6668 GB, free: 11.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.057e-06/0.5111, allocations: 4 kB / 0.6668 GB, free: 11.05 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.5113, allocations: 24.05 kB / 0.6668 GB, free: 11.03 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.5113, allocations: 3.953 kB / 0.6668 GB, free: 11.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001669/0.5115, allocations: 27.88 kB / 0.6668 GB, free: 11 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.585e-06/0.5115, allocations: 0 / 0.6668 GB, free: 11 MB / 490.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.337e-05/0.5116, allocations: 116.9 kB / 0.6669 GB, free: 10.88 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.452e-05/0.5116, allocations: 11.91 kB / 0.6669 GB, free: 10.86 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.884e-05/0.5117, allocations: 12.02 kB / 0.667 GB, free: 10.84 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.5117, allocations: 0 / 0.667 GB, free: 10.84 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.5117, allocations: 0 / 0.667 GB, free: 10.84 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.5117, allocations: 3.953 kB / 0.667 GB, free: 10.84 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002207/0.5119, allocations: 213.6 kB / 0.6672 GB, free: 10.58 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.5119, allocations: 0 / 0.6672 GB, free: 10.58 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002365/0.5122, allocations: 35.95 kB / 0.6672 GB, free: 10.55 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.848e-06/0.5122, allocations: 4 kB / 0.6672 GB, free: 10.54 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.5122, allocations: 3.984 kB / 0.6672 GB, free: 10.54 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.5122, allocations: 0 / 0.6672 GB, free: 10.54 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.5122, allocations: 0 / 0.6672 GB, free: 10.54 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001995/0.5124, allocations: 179.4 kB / 0.6674 GB, free: 10.35 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.504e-05/0.5125, allocations: 96.91 kB / 0.6675 GB, free: 10.23 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.833e-05/0.5125, allocations: 4.125 kB / 0.6675 GB, free: 10.23 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002906/0.5128, allocations: 35.89 kB / 0.6675 GB, free: 10.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.682e-05/0.5129, allocations: 15.94 kB / 0.6675 GB, free: 10.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.5129, allocations: 5.109 kB / 0.6675 GB, free: 10.18 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000119/0.513, allocations: 140 kB / 0.6677 GB, free: 10.04 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.513, allocations: 0 / 0.6677 GB, free: 10.04 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003008/0.5133, allocations: 40 kB / 0.6677 GB, free: 10 MB / 490.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.0004797/0.5138, allocations: 0.714 MB / 0.6684 GB, free: 9.262 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002357/0.5141, allocations: 92.45 kB / 0.6685 GB, free: 9.172 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.5141, allocations: 0 / 0.6685 GB, free: 9.172 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.559e-05/0.5142, allocations: 31.92 kB / 0.6685 GB, free: 9.141 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001712/0.5143, allocations: 4 kB / 0.6685 GB, free: 9.137 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006838/0.515, allocations: 182.9 kB / 0.6687 GB, free: 8.922 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002557/0.5153, allocations: 0.6975 MB / 0.6694 GB, free: 8.199 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001927/0.5155, allocations: 31.98 kB / 0.6694 GB, free: 8.168 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.442e-05/0.5156, allocations: 31.41 kB / 0.6694 GB, free: 8.137 MB / 490.7 MB Notification: Performance of SimCode: time 4.31e-07/0.5156, allocations: 4 kB / 0.6694 GB, free: 8.133 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01313/0.5287, allocations: 2.73 MB / 0.6721 GB, free: 5.566 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001951/0.529, allocations: 165.1 kB / 0.6723 GB, free: 5.336 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.676/2.205, allocations: 0 / 0.6723 GB, free: 5.336 MB / 490.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Movers_BaseClasses_Validation_PowerInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Movers_BaseClasses_Validation_PowerInterface.fmu > IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1)