Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Fluid_Movers_BaseClasses_Validation_PowerInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface,fileNamePrefix="IDEAS_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.005079/0.005078, allocations: 98.77 kB / 15.73 MB, free: 6.066 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.001279/0.001279, allocations: 195.3 kB / 16.67 MB, free: 5.973 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.318/1.318, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8062/0.8062, allocations: 132.2 MB / 422.7 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001825/0.001826, allocations: 79.03 kB / 0.5809 GB, free: 24.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1383, allocations: 80.21 MB / 0.6592 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.00256/0.1409, allocations: 1.603 MB / 0.6608 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006241/0.1416, allocations: 315.9 kB / 0.6611 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.145e-05/0.1416, allocations: 0 / 0.6611 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.514e-05/0.1417, allocations: 3.938 kB / 0.6611 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.282e-05/0.1418, allocations: 19.8 kB / 0.6611 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002994/0.1421, allocations: 71.8 kB / 0.6611 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001457/0.1422, allocations: 103.7 kB / 0.6612 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.1423, allocations: 39.91 kB / 0.6613 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.705e-05/0.1424, allocations: 39.84 kB / 0.6613 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.991e-05/0.1425, allocations: 39.84 kB / 0.6614 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.1425, allocations: 8 kB / 0.6614 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.096e-05/0.1426, allocations: 31.97 kB / 0.6614 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.101e-05/0.1427, allocations: 15.92 kB / 0.6614 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.788e-05/0.1427, allocations: 47.73 kB / 0.6615 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001642/0.1429, allocations: 103.8 kB / 0.6616 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.1429, allocations: 0 / 0.6616 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.823e-06/0.1429, allocations: 7.938 kB / 0.6616 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.686e-06/0.1429, allocations: 0 / 0.6616 GB, free: 8.34 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.0005842/0.1435, allocations: 411 kB / 0.662 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.1435, allocations: 12.03 kB / 0.662 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.546e-05/0.1436, allocations: 34.75 kB / 0.662 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009533/0.1445, allocations: 120.7 kB / 0.6621 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001617/0.1447, allocations: 192.2 kB / 0.6623 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.1447, allocations: 8.375 kB / 0.6623 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.1448, allocations: 8.125 kB / 0.6623 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005512/0.1453, allocations: 153.5 kB / 0.6625 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.1453, allocations: 0 / 0.6625 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.1454, allocations: 0 / 0.6625 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.1454, allocations: 4 kB / 0.6625 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007395/0.1461, allocations: 155.8 kB / 0.6626 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009636/0.1471, allocations: 440.4 kB / 0.663 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007007/0.1478, allocations: 142.4 kB / 0.6632 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000363/0.1482, allocations: 76.91 kB / 0.6632 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.1482, allocations: 0 / 0.6632 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/0.1482, allocations: 34.5 kB / 0.6633 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.059e-05/0.1482, allocations: 0 / 0.6633 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.001206/0.1495, allocations: 249.3 kB / 0.6635 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.1495, allocations: 59.33 kB / 0.6636 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.1497, allocations: 159.1 kB / 0.6637 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.1497, allocations: 25.7 kB / 0.6637 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.471e-05/0.1498, allocations: 100.1 kB / 0.6638 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.499e-05/0.1498, allocations: 23.83 kB / 0.6639 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.514e-05/0.1499, allocations: 25.66 kB / 0.6639 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.15, allocations: 322.8 kB / 0.6642 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003785/0.1504, allocations: 76.78 kB / 0.6643 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003599/0.1508, allocations: 71.92 kB / 0.6643 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006948/0.1515, allocations: 132.7 kB / 0.6645 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1515, allocations: 4 kB / 0.6645 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0008069/0.1523, allocations: 193.4 kB / 0.6647 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.1523, allocations: 9.812 kB / 0.6647 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.1523, allocations: 0 / 0.6647 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.1523, allocations: 0 / 0.6647 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002568/0.1526, allocations: 39.95 kB / 0.6647 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.1526, allocations: 0 / 0.6647 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001999/0.1528, allocations: 19.97 kB / 0.6647 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.821e-05/0.1528, allocations: 8.234 kB / 0.6647 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001534/0.153, allocations: 116.1 kB / 0.6648 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001108/0.1531, allocations: 52.28 kB / 0.6649 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002022/0.1533, allocations: 92.12 kB / 0.665 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.71e-07/0.1533, allocations: 0 / 0.665 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0002591/0.1536, allocations: 109.4 kB / 0.6651 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.582e-06/0.1536, allocations: 8.156 kB / 0.6651 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.1536, allocations: 7.938 kB / 0.6651 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-06/0.1536, allocations: 0 / 0.6651 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.883e-05/0.1537, allocations: 19.98 kB / 0.6651 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.1537, allocations: 3.938 kB / 0.6651 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.853e-05/0.1538, allocations: 11.92 kB / 0.6651 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.1538, allocations: 8 kB / 0.6651 GB, free: 4.402 MB / 0.4981 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.0001037/0.1539, allocations: 176.3 kB / 0.6653 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.455e-05/0.154, allocations: 15.89 kB / 0.6653 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.913e-05/0.154, allocations: 16.3 kB / 0.6653 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.154, allocations: 0 / 0.6653 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.154, allocations: 7.938 kB / 0.6653 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.154, allocations: 0 / 0.6653 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/0.1551, allocations: 479.9 kB / 0.6658 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1551, allocations: 0 / 0.6658 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002361/0.1554, allocations: 39.94 kB / 0.6658 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.1554, allocations: 4 kB / 0.6658 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.1554, allocations: 4.062 kB / 0.6658 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1554, allocations: 0 / 0.6658 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.1554, allocations: 7.938 kB / 0.6659 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008217/0.1563, allocations: 285 kB / 0.6661 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.875e-05/0.1563, allocations: 97.03 kB / 0.6662 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.286e-05/0.1564, allocations: 4 kB / 0.6662 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002296/0.1566, allocations: 23.97 kB / 0.6662 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.403e-05/0.1566, allocations: 0 / 0.6662 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.1567, allocations: 11.98 kB / 0.6663 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.048e-05/0.1568, allocations: 122.7 kB / 0.6664 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1568, allocations: 0 / 0.6664 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000297/0.1571, allocations: 28 kB / 0.6664 GB, free: 2.996 MB / 0.4981 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.001168/0.1582, allocations: 0.8232 MB / 0.6672 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000908/0.1592, allocations: 191.7 kB / 0.6674 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1592, allocations: 0 / 0.6674 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003696/0.1596, allocations: 72.36 kB / 0.6675 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003067/0.1599, allocations: 12.12 kB / 0.6675 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003838/0.1637, allocations: 1.902 MB / 0.6693 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003251/0.1641, allocations: 0.7002 MB / 0.67 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.719e-05/0.1641, allocations: 8 kB / 0.67 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.1642, allocations: 39.41 kB / 0.6701 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of SimCode: time 5.11e-07/0.1643, allocations: 0 / 0.6701 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3497/0.514, allocations: 2.735 MB / 0.6727 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.201/8.715, allocations: 15.72 kB / 0.6727 GB, free: 12.47 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Movers_BaseClasses_Validation_PowerInterface_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Movers_BaseClasses_Validation_PowerInterface.fmu > IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1)