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.001075/0.001075, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5389/0.5389, allocations: 90.91 MB / 99.35 MB, free: 2.215 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.628/1.628, allocations: 221.5 MB / 343.2 MB, free: 1.578 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.0009089/0.0009089, allocations: 87.89 kB / 415.9 MB, free: 11.11 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.125e-05/2.128e-05, allocations: 7.984 kB / 494.6 MB, free: 52.28 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.1773, allocations: 72.31 MB / 0.5536 GB, free: 12.15 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5544/0.7318, allocations: 101.8 MB / 0.6531 GB, free: 8.105 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002713/0.7321, allocations: 80.58 kB / 0.6532 GB, free: 8.062 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01026/0.7424, allocations: 3.368 MB / 0.6564 GB, free: 5.25 MB / 458.7 MB Notification: Performance of FrontEnd: time 5.17e-06/0.7424, allocations: 0 / 0.6564 GB, free: 5.25 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.645e-05/0.7425, allocations: 7.938 kB / 0.6564 GB, free: 5.242 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.0006763/0.7431, allocations: 389.8 kB / 0.6568 GB, free: 4.824 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.69e-05/0.7432, allocations: 8.031 kB / 0.6568 GB, free: 4.816 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00119/0.7444, allocations: 139.7 kB / 0.657 GB, free: 4.68 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002071/0.7447, allocations: 171.8 kB / 0.6571 GB, free: 4.473 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.661e-05/0.7447, allocations: 7.938 kB / 0.6571 GB, free: 4.465 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.448e-05/0.7447, allocations: 4 kB / 0.6571 GB, free: 4.461 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002287/0.745, allocations: 80.41 kB / 0.6572 GB, free: 4.414 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002255/0.7452, allocations: 110.1 kB / 0.6573 GB, free: 4.32 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.7452, allocations: 4 kB / 0.6573 GB, free: 4.316 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.166e-05/0.7453, allocations: 0 / 0.6573 GB, free: 4.316 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.7453, allocations: 7.953 kB / 0.6573 GB, free: 4.309 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001388/0.7467, allocations: 457.8 kB / 0.6578 GB, free: 3.875 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003458/0.747, allocations: 78.97 kB / 0.6578 GB, free: 3.805 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.178e-05/0.7471, allocations: 27.81 kB / 0.6579 GB, free: 3.781 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.38e-05/0.7472, allocations: 3.984 kB / 0.6579 GB, free: 3.777 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/0.7472, allocations: 38.44 kB / 0.6579 GB, free: 3.734 MB / 458.7 MB Notification: Performance of pre-optimization done (n=3): time 1.773e-06/0.7472, allocations: 4 kB / 0.6579 GB, free: 3.73 MB / 458.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002302/0.7474, allocations: 76.16 kB / 0.658 GB, free: 3.66 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.7475, allocations: 51.41 kB / 0.658 GB, free: 3.598 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.7476, allocations: 131.4 kB / 0.6582 GB, free: 3.477 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.612e-05/0.7477, allocations: 29.7 kB / 0.6582 GB, free: 3.441 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.865e-05/0.7478, allocations: 110.8 kB / 0.6583 GB, free: 3.336 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.779e-05/0.7478, allocations: 15.39 kB / 0.6583 GB, free: 3.324 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.35e-05/0.7478, allocations: 0 / 0.6583 GB, free: 3.324 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.7479, allocations: 326.5 kB / 0.6586 GB, free: 3 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.384e-05/0.748, allocations: 27.23 kB / 0.6586 GB, free: 2.984 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.392e-05/0.7481, allocations: 55.69 kB / 0.6587 GB, free: 2.934 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.306e-05/0.7482, allocations: 30.73 kB / 0.6587 GB, free: 2.91 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.7482, allocations: 0 / 0.6587 GB, free: 2.91 MB / 458.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002063/0.7484, allocations: 103.9 kB / 0.6588 GB, free: 2.824 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001545/0.7486, allocations: 272.9 kB / 0.6591 GB, free: 2.543 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.7486, allocations: 4 kB / 0.6591 GB, free: 2.539 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.7486, allocations: 0 / 0.6591 GB, free: 2.539 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003655/0.749, allocations: 59.86 kB / 0.6591 GB, free: 2.48 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.749, allocations: 0 / 0.6591 GB, free: 2.48 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003923/0.7494, allocations: 46.86 kB / 0.6592 GB, free: 2.438 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.192e-05/0.7494, allocations: 7.984 kB / 0.6592 GB, free: 2.43 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.7494, allocations: 4 kB / 0.6592 GB, free: 2.426 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001122/0.7495, allocations: 43.36 kB / 0.6592 GB, free: 2.395 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-06/0.7496, allocations: 0 / 0.6592 GB, free: 2.395 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.915e-06/0.7496, allocations: 4.062 kB / 0.6592 GB, free: 2.391 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001517/0.7497, allocations: 24.03 kB / 0.6593 GB, free: 2.367 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.605e-06/0.7497, allocations: 0 / 0.6593 GB, free: 2.367 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001721/0.7499, allocations: 23.95 kB / 0.6593 GB, free: 2.344 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.7499, allocations: 4 kB / 0.6593 GB, free: 2.34 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.392e-05/0.75, allocations: 112.9 kB / 0.6594 GB, free: 2.223 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001496/0.7502, allocations: 78.19 kB / 0.6595 GB, free: 2.152 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.792e-05/0.7502, allocations: 0 / 0.6595 GB, free: 2.152 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.137e-05/0.7503, allocations: 11.59 kB / 0.6595 GB, free: 2.141 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.7503, allocations: 0 / 0.6595 GB, free: 2.141 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.503e-06/0.7503, allocations: 3.953 kB / 0.6595 GB, free: 2.137 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.7503, allocations: 0 / 0.6595 GB, free: 2.137 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002059/0.7505, allocations: 188.7 kB / 0.6597 GB, free: 1.93 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.7505, allocations: 7.938 kB / 0.6597 GB, free: 1.922 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002755/0.7508, allocations: 32.08 kB / 0.6597 GB, free: 1.891 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.658e-06/0.7508, allocations: 8 kB / 0.6597 GB, free: 1.883 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.7508, allocations: 2.938 kB / 0.6597 GB, free: 1.883 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.7509, allocations: 3.984 kB / 0.6597 GB, free: 1.879 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.7509, allocations: 4 kB / 0.6597 GB, free: 1.875 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001949/0.7511, allocations: 167.1 kB / 0.6599 GB, free: 1.707 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.049e-05/0.7512, allocations: 102.9 kB / 0.66 GB, free: 1.594 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.749e-05/0.7512, allocations: 0 / 0.66 GB, free: 1.594 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003085/0.7515, allocations: 35.95 kB / 0.66 GB, free: 1.559 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.342e-05/0.7516, allocations: 0 / 0.66 GB, free: 1.559 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.7516, allocations: 7.984 kB / 0.66 GB, free: 1.551 MB / 458.7 MB Notification: Performance of sorting global known variables: time 8.321e-05/0.7517, allocations: 108.7 kB / 0.6601 GB, free: 1.461 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7517, allocations: 0 / 0.6601 GB, free: 1.461 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000345/0.752, allocations: 43.84 kB / 0.6602 GB, free: 1.418 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.0005207/0.7525, allocations: 0.7167 MB / 0.6609 GB, free: 0.6875 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002282/0.7528, allocations: 87.84 kB / 0.661 GB, free: 0.6289 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.7528, allocations: 0 / 0.661 GB, free: 0.6289 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.853e-05/0.7529, allocations: 27.23 kB / 0.661 GB, free: 0.6094 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000209/0.7531, allocations: 7.484 kB / 0.661 GB, free: 0.6055 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007308/0.7538, allocations: 178.5 kB / 0.6612 GB, free: 416 kB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/0.7541, allocations: 0.6963 MB / 0.6618 GB, free: 15.68 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002039/0.7543, allocations: 24 kB / 0.6619 GB, free: 15.66 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.7544, allocations: 35.52 kB / 0.6619 GB, free: 15.64 MB / 474.7 MB Notification: Performance of SimCode: time 4.01e-07/0.7545, allocations: 0 / 0.6619 GB, free: 15.64 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02231/0.7768, allocations: 2.103 MB / 0.664 GB, free: 13.55 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003273/0.7772, allocations: 150.9 kB / 0.6641 GB, free: 13.35 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.623/2.4, allocations: 4 kB / 0.6641 GB, free: 13.35 MB / 474.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)