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.007621/0.007621, allocations: 97.39 kB / 15.73 MB, free: 6.004 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.001886/0.001886, allocations: 200 kB / 16.68 MB, free: 5.934 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.418/1.418, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7912/0.7912, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001801/0.001801, allocations: 64.08 kB / 0.5809 GB, free: 1.125 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1617, allocations: 80.21 MB / 0.6592 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.00278/0.1645, allocations: 1.594 MB / 0.6608 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006676/0.1652, allocations: 311.9 kB / 0.6611 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.45e-05/0.1652, allocations: 4 kB / 0.6611 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.784e-05/0.1653, allocations: 15.81 kB / 0.6611 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.078e-05/0.1654, allocations: 19.78 kB / 0.6611 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003201/0.1657, allocations: 71.84 kB / 0.6612 GB, free: 12 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001549/0.1659, allocations: 107.6 kB / 0.6613 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.166, allocations: 31.97 kB / 0.6613 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.726e-05/0.1661, allocations: 39.86 kB / 0.6613 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.886e-05/0.1662, allocations: 35.84 kB / 0.6614 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.548e-05/0.1662, allocations: 8 kB / 0.6614 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.926e-05/0.1663, allocations: 35.91 kB / 0.6614 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.947e-05/0.1664, allocations: 23.91 kB / 0.6614 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.466e-05/0.1664, allocations: 43.73 kB / 0.6615 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002041/0.1666, allocations: 99.84 kB / 0.6616 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1666, allocations: 0 / 0.6616 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1666, allocations: 0 / 0.6616 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.033e-05/0.1667, allocations: 4 kB / 0.6616 GB, free: 11.58 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.0006387/0.1673, allocations: 411 kB / 0.662 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.1673, allocations: 8.031 kB / 0.662 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.477e-05/0.1674, allocations: 42.73 kB / 0.662 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009575/0.1684, allocations: 116.7 kB / 0.6621 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001594/0.1685, allocations: 196.1 kB / 0.6623 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.1686, allocations: 4.375 kB / 0.6623 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.036e-05/0.1686, allocations: 12.12 kB / 0.6623 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005421/0.1691, allocations: 145.5 kB / 0.6625 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.1691, allocations: 0 / 0.6625 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.779e-05/0.1692, allocations: 8 kB / 0.6625 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.1692, allocations: 0 / 0.6625 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007554/0.1699, allocations: 151.8 kB / 0.6626 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009816/0.1709, allocations: 444.3 kB / 0.663 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000725/0.1717, allocations: 142.4 kB / 0.6632 GB, free: 9.777 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003707/0.172, allocations: 76.86 kB / 0.6632 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.1721, allocations: 4 kB / 0.6633 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.1721, allocations: 42.48 kB / 0.6633 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.1721, allocations: 0 / 0.6633 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.001228/0.1733, allocations: 241.4 kB / 0.6635 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/0.1734, allocations: 55.41 kB / 0.6636 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/0.1736, allocations: 154.2 kB / 0.6637 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.1736, allocations: 29.7 kB / 0.6638 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.025e-05/0.1737, allocations: 96.09 kB / 0.6638 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.1737, allocations: 23.83 kB / 0.6639 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.38e-05/0.1738, allocations: 33.66 kB / 0.6639 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.1739, allocations: 318.8 kB / 0.6642 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003984/0.1743, allocations: 84.7 kB / 0.6643 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003678/0.1747, allocations: 71.86 kB / 0.6644 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007028/0.1754, allocations: 128.7 kB / 0.6645 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1754, allocations: 0 / 0.6645 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007908/0.1762, allocations: 189.5 kB / 0.6647 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.1762, allocations: 7.938 kB / 0.6647 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.1762, allocations: 4 kB / 0.6647 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.1763, allocations: 0 / 0.6647 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002631/0.1765, allocations: 39.88 kB / 0.6647 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.1765, allocations: 0 / 0.6647 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002103/0.1768, allocations: 31.97 kB / 0.6647 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.311e-05/0.1768, allocations: 0 / 0.6647 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001481/0.1769, allocations: 112.1 kB / 0.6648 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001136/0.1771, allocations: 52.28 kB / 0.6649 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002032/0.1773, allocations: 80.19 kB / 0.665 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.72e-07/0.1773, allocations: 8 kB / 0.665 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0002579/0.1775, allocations: 109.4 kB / 0.6651 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.455e-06/0.1776, allocations: 10.19 kB / 0.6651 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.1776, allocations: 3.938 kB / 0.6651 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.1776, allocations: 7.984 kB / 0.6651 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.735e-05/0.1777, allocations: 12 kB / 0.6651 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.1777, allocations: 8.141 kB / 0.6651 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.423e-05/0.1778, allocations: 11.94 kB / 0.6651 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-06/0.1778, allocations: 0 / 0.6651 GB, free: 7.656 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.0001064/0.1779, allocations: 188.2 kB / 0.6653 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.654e-05/0.1779, allocations: 11.89 kB / 0.6653 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.01e-05/0.178, allocations: 16.3 kB / 0.6653 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.178, allocations: 3.984 kB / 0.6653 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.178, allocations: 4 kB / 0.6653 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.178, allocations: 0 / 0.6653 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001129/0.1791, allocations: 488.1 kB / 0.6658 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1792, allocations: 4.062 kB / 0.6658 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002321/0.1794, allocations: 35.95 kB / 0.6658 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1794, allocations: 0 / 0.6658 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.1794, allocations: 3.984 kB / 0.6659 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.242e-06/0.1794, allocations: 4 kB / 0.6659 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1794, allocations: 0 / 0.6659 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008571/0.1803, allocations: 296.9 kB / 0.6661 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.332e-05/0.1804, allocations: 93.05 kB / 0.6662 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.175e-05/0.1804, allocations: 0 / 0.6662 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002334/0.1807, allocations: 23.97 kB / 0.6663 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.599e-05/0.1807, allocations: 11.98 kB / 0.6663 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.1807, allocations: 4 kB / 0.6663 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001068/0.1809, allocations: 122.6 kB / 0.6664 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1809, allocations: 0 / 0.6664 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003105/0.1812, allocations: 32 kB / 0.6664 GB, free: 6.23 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.0012/0.1824, allocations: 0.8232 MB / 0.6672 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009374/0.1833, allocations: 180.1 kB / 0.6674 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1834, allocations: 4.312 kB / 0.6674 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003812/0.1837, allocations: 75.86 kB / 0.6675 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002993/0.184, allocations: 20.11 kB / 0.6675 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004008/0.1881, allocations: 1.88 MB / 0.6693 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003368/0.1884, allocations: 0.6963 MB / 0.67 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.125e-05/0.1885, allocations: 12 kB / 0.67 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.816e-05/0.1886, allocations: 39.39 kB / 0.67 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1886, allocations: 0 / 0.67 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02227/0.2109, allocations: 2.746 MB / 0.6727 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.571/7.782, allocations: 6.359 kB / 0.6727 GB, free: 15.73 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 & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Fluid_Movers_BaseClasses_Validation_PowerInterface.fmu > IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1)