Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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: "" <> buildModelFMU(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Movers_BaseClasses_Validation_PowerInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Movers_BaseClasses_Validation_PowerInterface",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004851/0.004851, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001303/0.001303, allocations: 191.6 kB / 16.67 MB, free: 5.969 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8124/0.8124, allocations: 135.6 MB / 426.1 MB, free: 3.707 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001777/0.001777, allocations: 66.83 kB / 0.5857 GB, free: 21.47 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1482, allocations: 81.04 MB / 0.6649 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002769/0.151, allocations: 1.597 MB / 0.6664 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000659/0.1516, allocations: 311.8 kB / 0.6667 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.158e-05/0.1517, allocations: 0 / 0.6667 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.677e-05/0.1518, allocations: 7.938 kB / 0.6667 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.936e-05/0.1518, allocations: 19.78 kB / 0.6667 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003063/0.1521, allocations: 75.78 kB / 0.6668 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001502/0.1523, allocations: 103.6 kB / 0.6669 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.1524, allocations: 39.97 kB / 0.667 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.967e-05/0.1525, allocations: 39.84 kB / 0.667 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.199e-05/0.1526, allocations: 39.84 kB / 0.667 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.041e-05/0.1526, allocations: 8 kB / 0.667 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.237e-05/0.1527, allocations: 27.97 kB / 0.6671 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.524e-05/0.1527, allocations: 19.92 kB / 0.6671 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.733e-05/0.1528, allocations: 43.73 kB / 0.6671 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001711/0.153, allocations: 103.8 kB / 0.6672 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.153, allocations: 4 kB / 0.6672 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.153, allocations: 0 / 0.6672 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.153, allocations: 0 / 0.6672 GB, free: 3.199 MB / 0.4981 GB 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.0005761/0.1536, allocations: 415 kB / 0.6676 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.1536, allocations: 9.109 kB / 0.6676 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.871e-05/0.1537, allocations: 42.73 kB / 0.6677 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009524/0.1546, allocations: 112.7 kB / 0.6678 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.1548, allocations: 184.2 kB / 0.668 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.1548, allocations: 4.375 kB / 0.668 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.164e-05/0.1548, allocations: 16.12 kB / 0.668 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005154/0.1554, allocations: 145.5 kB / 0.6681 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.1554, allocations: 4 kB / 0.6681 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.1554, allocations: 4 kB / 0.6681 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.1554, allocations: 0 / 0.6681 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007563/0.1562, allocations: 155.8 kB / 0.6683 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009641/0.1571, allocations: 452.2 kB / 0.6687 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007032/0.1579, allocations: 142.4 kB / 0.6688 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003651/0.1582, allocations: 76.91 kB / 0.6689 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.1583, allocations: 4 kB / 0.6689 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.1583, allocations: 34.5 kB / 0.6689 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.1583, allocations: 0 / 0.6689 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.001209/0.1595, allocations: 249.3 kB / 0.6692 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.799e-05/0.1596, allocations: 59.34 kB / 0.6692 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.1597, allocations: 157.5 kB / 0.6694 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.85e-05/0.1598, allocations: 29.7 kB / 0.6694 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.515e-05/0.1598, allocations: 100.1 kB / 0.6695 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.359e-05/0.1599, allocations: 27.77 kB / 0.6695 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.984e-05/0.1599, allocations: 25.7 kB / 0.6696 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.1601, allocations: 318.8 kB / 0.6699 GB, free: 276 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003788/0.1605, allocations: 77.03 kB / 0.6699 GB, free: 196 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003567/0.1608, allocations: 71.92 kB / 0.67 GB, free: 124 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007139/0.1616, allocations: 132.8 kB / 0.6701 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1616, allocations: 0 / 0.6701 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0008/0.1624, allocations: 205.5 kB / 0.6703 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.1624, allocations: 7.938 kB / 0.6703 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.1624, allocations: 0 / 0.6703 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.1624, allocations: 4 kB / 0.6703 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002503/0.1627, allocations: 35.95 kB / 0.6704 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.1627, allocations: 3.984 kB / 0.6704 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002021/0.1629, allocations: 23.97 kB / 0.6704 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.1629, allocations: 0 / 0.6704 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001534/0.1631, allocations: 112.1 kB / 0.6705 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001114/0.1632, allocations: 56.28 kB / 0.6706 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001959/0.1634, allocations: 84.19 kB / 0.6707 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.876e-06/0.1634, allocations: 4 kB / 0.6707 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0002693/0.1637, allocations: 105.4 kB / 0.6708 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.1637, allocations: 9.562 kB / 0.6708 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.1637, allocations: 4.094 kB / 0.6708 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.937e-06/0.1637, allocations: 8 kB / 0.6708 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.048e-05/0.1638, allocations: 15.98 kB / 0.6708 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.1638, allocations: 3.938 kB / 0.6708 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.159e-05/0.1639, allocations: 15.92 kB / 0.6708 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.1639, allocations: 4 kB / 0.6708 GB, free: 15.25 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * 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 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 0.0001073/0.164, allocations: 180.3 kB / 0.671 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.644e-05/0.1641, allocations: 11.89 kB / 0.671 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.151e-05/0.1641, allocations: 20.3 kB / 0.671 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.1641, allocations: 0 / 0.671 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.1641, allocations: 0 / 0.671 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.1641, allocations: 0 / 0.671 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00109/0.1652, allocations: 483.9 kB / 0.6715 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.1652, allocations: 3.984 kB / 0.6715 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002262/0.1655, allocations: 35.95 kB / 0.6715 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1655, allocations: 0 / 0.6715 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.1655, allocations: 0 / 0.6715 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.1655, allocations: 7.984 kB / 0.6715 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.1655, allocations: 8 kB / 0.6715 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008226/0.1664, allocations: 285.1 kB / 0.6718 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.108e-05/0.1664, allocations: 101 kB / 0.6719 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.1665, allocations: 3.938 kB / 0.6719 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002271/0.1667, allocations: 23.97 kB / 0.6719 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.155e-05/0.1667, allocations: 4 kB / 0.6719 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.325e-05/0.1668, allocations: 3.984 kB / 0.6719 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.673e-05/0.1669, allocations: 126.9 kB / 0.6721 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1669, allocations: 0 / 0.6721 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003039/0.1672, allocations: 32 kB / 0.6721 GB, free: 13.84 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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 0.001154/0.1683, allocations: 0.8232 MB / 0.6729 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008837/0.1692, allocations: 187.7 kB / 0.6731 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1692, allocations: 0 / 0.6731 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003764/0.1696, allocations: 72.36 kB / 0.6731 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/0.1699, allocations: 8 kB / 0.6731 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003949/0.1739, allocations: 1.898 MB / 0.675 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003278/0.1742, allocations: 0.6963 MB / 0.6757 GB, free: 10 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.82e-05/0.1743, allocations: 16 kB / 0.6757 GB, free: 9.988 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.352e-05/0.1744, allocations: 35.41 kB / 0.6757 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.1744, allocations: 0 / 0.6757 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5965/0.771, allocations: 2.75 MB / 0.6784 GB, free: 7.297 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.297/9.068, allocations: 0.5938 kB / 0.6784 GB, free: 7.297 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Movers_BaseClasses_Validation_PowerInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Movers_BaseClasses_Validation_PowerInterface.fmu > IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1)