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.006976/0.006976, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.00131/0.00131, allocations: 195.1 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.291/1.291, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7758/0.7758, allocations: 135.1 MB / 425.7 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 68.5 kB / 0.5851 GB, free: 21.95 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1432, allocations: 80.91 MB / 0.6641 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002693/0.1459, allocations: 1.62 MB / 0.6657 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000631/0.1466, allocations: 296 kB / 0.666 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.253e-05/0.1466, allocations: 4 kB / 0.666 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.871e-05/0.1467, allocations: 11.86 kB / 0.666 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.341e-05/0.1468, allocations: 11.86 kB / 0.666 GB, free: 4.355 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003383/0.1471, allocations: 75.8 kB / 0.6661 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001436/0.1473, allocations: 111.6 kB / 0.6662 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.1474, allocations: 27.97 kB / 0.6662 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.313e-05/0.1475, allocations: 39.86 kB / 0.6663 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.973e-05/0.1476, allocations: 39.84 kB / 0.6663 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.1476, allocations: 8 kB / 0.6663 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.877e-05/0.1477, allocations: 27.97 kB / 0.6664 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.692e-05/0.1478, allocations: 23.92 kB / 0.6664 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.437e-05/0.1478, allocations: 43.73 kB / 0.6664 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000204/0.148, allocations: 103.8 kB / 0.6665 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.148, allocations: 0 / 0.6665 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.827e-06/0.1481, allocations: 0 / 0.6665 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.722e-06/0.1481, allocations: 7.875 kB / 0.6665 GB, free: 3.855 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.0006526/0.1487, allocations: 411 kB / 0.6669 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.1488, allocations: 9.109 kB / 0.6669 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.899e-05/0.1488, allocations: 46.75 kB / 0.667 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001024/0.1499, allocations: 120.7 kB / 0.6671 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.15, allocations: 176.3 kB / 0.6673 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.444e-05/0.15, allocations: 12.36 kB / 0.6673 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.138e-05/0.1501, allocations: 8.125 kB / 0.6673 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005457/0.1506, allocations: 153.5 kB / 0.6674 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.1507, allocations: 0 / 0.6674 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.1507, allocations: 4 kB / 0.6674 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.1507, allocations: 3.984 kB / 0.6674 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007485/0.1514, allocations: 151.8 kB / 0.6676 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009583/0.1524, allocations: 448.4 kB / 0.668 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007007/0.1531, allocations: 138.5 kB / 0.6681 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003765/0.1535, allocations: 76.91 kB / 0.6682 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.1535, allocations: 0 / 0.6682 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.1536, allocations: 34.5 kB / 0.6682 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 2.274e-06/0.1536, allocations: 0 / 0.6682 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.001258/0.1548, allocations: 253.2 kB / 0.6685 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.238e-05/0.1549, allocations: 55.41 kB / 0.6685 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001581/0.1551, allocations: 160.3 kB / 0.6687 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.1551, allocations: 25.7 kB / 0.6687 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.742e-05/0.1552, allocations: 100.1 kB / 0.6688 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/0.1552, allocations: 15.84 kB / 0.6688 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.891e-05/0.1553, allocations: 29.69 kB / 0.6688 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.1554, allocations: 318.8 kB / 0.6692 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003811/0.1558, allocations: 72.8 kB / 0.6692 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003525/0.1562, allocations: 71.92 kB / 0.6693 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007086/0.1569, allocations: 144.7 kB / 0.6694 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.1569, allocations: 0 / 0.6694 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007738/0.1577, allocations: 185.4 kB / 0.6696 GB, free: 476 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.1577, allocations: 11.94 kB / 0.6696 GB, free: 464 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.1577, allocations: 256 / 0.6696 GB, free: 464 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.1577, allocations: 0 / 0.6696 GB, free: 464 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002668/0.158, allocations: 43.95 kB / 0.6697 GB, free: 420 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.158, allocations: 4 kB / 0.6697 GB, free: 416 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000206/0.1582, allocations: 19.97 kB / 0.6697 GB, free: 396 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.1583, allocations: 7.984 kB / 0.6697 GB, free: 388 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001313/0.1584, allocations: 108.1 kB / 0.6698 GB, free: 276 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001105/0.1585, allocations: 56.27 kB / 0.6698 GB, free: 204 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001801/0.1587, allocations: 92.12 kB / 0.6699 GB, free: 96 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.052e-06/0.1587, allocations: 3.938 kB / 0.6699 GB, free: 92 kB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0002659/0.159, allocations: 109.6 kB / 0.67 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.218e-06/0.159, allocations: 5.875 kB / 0.67 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-06/0.159, allocations: 3.938 kB / 0.67 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.547e-06/0.159, allocations: 4 kB / 0.6701 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.109e-05/0.1591, allocations: 19.92 kB / 0.6701 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.1591, allocations: 4 kB / 0.6701 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.113e-05/0.1592, allocations: 11.92 kB / 0.6701 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.82e-06/0.1592, allocations: 4 kB / 0.6701 GB, free: 15.93 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 9.456e-05/0.1593, allocations: 184.4 kB / 0.6703 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.727e-05/0.1593, allocations: 11.89 kB / 0.6703 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.001e-05/0.1594, allocations: 12.31 kB / 0.6703 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.349e-06/0.1594, allocations: 0 / 0.6703 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.1594, allocations: 7.922 kB / 0.6703 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.1594, allocations: 0 / 0.6703 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.1605, allocations: 480 kB / 0.6708 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.1605, allocations: 0 / 0.6708 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002353/0.1607, allocations: 39.88 kB / 0.6708 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.1607, allocations: 4.062 kB / 0.6708 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.1608, allocations: 8 kB / 0.6708 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1608, allocations: 0 / 0.6708 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.1608, allocations: 0 / 0.6708 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008016/0.1616, allocations: 289 kB / 0.6711 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.324e-05/0.1617, allocations: 97.03 kB / 0.6712 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.339e-05/0.1617, allocations: 0 / 0.6712 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002309/0.1619, allocations: 23.97 kB / 0.6712 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.127e-05/0.162, allocations: 11.94 kB / 0.6712 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.162, allocations: 12.05 kB / 0.6712 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.726e-05/0.1621, allocations: 118.9 kB / 0.6713 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1621, allocations: 0 / 0.6713 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003174/0.1624, allocations: 32 kB / 0.6714 GB, free: 14.51 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.001079/0.1635, allocations: 0.8207 MB / 0.6722 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008748/0.1644, allocations: 192.1 kB / 0.6723 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1644, allocations: 0 / 0.6723 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003862/0.1648, allocations: 80.3 kB / 0.6724 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003107/0.1651, allocations: 8 kB / 0.6724 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003631/0.1688, allocations: 1.914 MB / 0.6743 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000244/0.169, allocations: 0.6963 MB / 0.675 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.499e-05/0.1691, allocations: 15.98 kB / 0.675 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.798e-05/0.1692, allocations: 35.41 kB / 0.675 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of SimCode: time 4.01e-07/0.1692, allocations: 0 / 0.675 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01833/0.1875, allocations: 2.738 MB / 0.6777 GB, free: 7.961 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.591/7.779, allocations: 8.641 kB / 0.6777 GB, free: 7.953 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Fluid_Movers_BaseClasses_Validation_PowerInterface.fmu > IDEAS_dev_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1)