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/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001704/0.001704, allocations: 101.6 kB / 16.4 MB, free: 6.473 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.001862/0.001862, allocations: 196 kB / 17.34 MB, free: 5.715 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.383/1.383, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8037/0.8037, allocations: 126.7 MB / 417.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 68.78 kB / 0.5735 GB, free: 27.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1619, allocations: 78.86 MB / 0.6505 GB, free: 3.586 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002744/0.1646, allocations: 1.623 MB / 0.6521 GB, free: 1.953 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006877/0.1654, allocations: 339.8 kB / 0.6525 GB, free: 1.617 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.487e-05/0.1654, allocations: 0 / 0.6525 GB, free: 1.617 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.118e-05/0.1655, allocations: 3.938 kB / 0.6525 GB, free: 1.613 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.721e-05/0.1656, allocations: 27.78 kB / 0.6525 GB, free: 1.586 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003204/0.1659, allocations: 79.78 kB / 0.6526 GB, free: 1.508 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001514/0.166, allocations: 103.6 kB / 0.6527 GB, free: 1.406 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.1662, allocations: 39.95 kB / 0.6527 GB, free: 1.367 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.674e-05/0.1663, allocations: 43.84 kB / 0.6527 GB, free: 1.324 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.444e-05/0.1664, allocations: 39.84 kB / 0.6528 GB, free: 1.285 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.216e-05/0.1664, allocations: 8 kB / 0.6528 GB, free: 1.277 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.1665, allocations: 39.97 kB / 0.6528 GB, free: 1.238 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.792e-05/0.1665, allocations: 19.91 kB / 0.6528 GB, free: 1.219 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.137e-05/0.1666, allocations: 39.75 kB / 0.6529 GB, free: 1.18 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001955/0.1668, allocations: 123.7 kB / 0.653 GB, free: 1.059 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.1668, allocations: 4 kB / 0.653 GB, free: 1.055 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1668, allocations: 0 / 0.653 GB, free: 1.055 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.1668, allocations: 0 / 0.653 GB, free: 1.055 MB / 494.1 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.0005885/0.1674, allocations: 403 kB / 0.6534 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.1674, allocations: 12.03 kB / 0.6534 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.073e-05/0.1675, allocations: 38.73 kB / 0.6534 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001344/0.1688, allocations: 164.7 kB / 0.6536 GB, free: 404 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.169, allocations: 188.2 kB / 0.6538 GB, free: 176 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.169, allocations: 8.375 kB / 0.6538 GB, free: 168 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.761e-05/0.1691, allocations: 16.06 kB / 0.6538 GB, free: 152 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006379/0.1697, allocations: 169.5 kB / 0.654 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.1697, allocations: 0 / 0.654 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.1698, allocations: 3.938 kB / 0.654 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.1698, allocations: 4 kB / 0.654 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009386/0.1707, allocations: 179.8 kB / 0.6541 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001191/0.1719, allocations: 488 kB / 0.6546 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001126/0.1731, allocations: 186.4 kB / 0.6548 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003539/0.1734, allocations: 60.86 kB / 0.6548 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.83e-05/0.1735, allocations: 15.92 kB / 0.6549 GB, free: 15 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.1735, allocations: 38.48 kB / 0.6549 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.1735, allocations: 0 / 0.6549 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.001188/0.1747, allocations: 221.4 kB / 0.6551 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.1747, allocations: 51.41 kB / 0.6551 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002587/0.175, allocations: 186.2 kB / 0.6553 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.77e-05/0.175, allocations: 25.7 kB / 0.6554 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.455e-05/0.1751, allocations: 108 kB / 0.6555 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.922e-05/0.1751, allocations: 15.91 kB / 0.6555 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.617e-05/0.1752, allocations: 29.69 kB / 0.6555 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.1754, allocations: 318.8 kB / 0.6558 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004673/0.1759, allocations: 88.77 kB / 0.6559 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004751/0.1763, allocations: 106.4 kB / 0.656 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000792/0.1771, allocations: 150.4 kB / 0.6561 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1772, allocations: 4 kB / 0.6561 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0009966/0.1782, allocations: 217.3 kB / 0.6563 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.1782, allocations: 8.062 kB / 0.6564 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1782, allocations: 0 / 0.6564 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.1782, allocations: 0 / 0.6564 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003227/0.1785, allocations: 51.88 kB / 0.6564 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.1786, allocations: 64 / 0.6564 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003847/0.179, allocations: 51.83 kB / 0.6564 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.94e-05/0.179, allocations: 4 kB / 0.6565 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002341/0.1792, allocations: 130.9 kB / 0.6566 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002054/0.1794, allocations: 69.98 kB / 0.6566 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002861/0.1797, allocations: 113.8 kB / 0.6568 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.52e-07/0.1797, allocations: 0 / 0.6568 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0004459/0.1802, allocations: 133.6 kB / 0.6569 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.889e-06/0.1802, allocations: 13.97 kB / 0.6569 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-06/0.1802, allocations: 0 / 0.6569 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.454e-06/0.1802, allocations: 4 kB / 0.6569 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/0.1804, allocations: 27.91 kB / 0.6569 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.1804, allocations: 7.938 kB / 0.6569 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002413/0.1806, allocations: 27.98 kB / 0.657 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.1807, allocations: 8 kB / 0.657 GB, free: 12.69 MB / 0.4981 GB 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 () * 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.0001245/0.1808, allocations: 176.3 kB / 0.6571 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.173e-05/0.1808, allocations: 15.83 kB / 0.6571 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.491e-05/0.1809, allocations: 16.23 kB / 0.6572 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.1809, allocations: 0 / 0.6572 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1809, allocations: 0 / 0.6572 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.1809, allocations: 4 kB / 0.6572 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002448/0.1812, allocations: 205.6 kB / 0.6574 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.1812, allocations: 3.938 kB / 0.6574 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002304/0.1814, allocations: 31.95 kB / 0.6574 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.1814, allocations: 4 kB / 0.6574 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.1815, allocations: 192 / 0.6574 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.1815, allocations: 3.984 kB / 0.6574 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1815, allocations: 4 kB / 0.6574 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008209/0.1823, allocations: 255.3 kB / 0.6577 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.813e-05/0.1824, allocations: 104.9 kB / 0.6578 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.669e-05/0.1824, allocations: 8 kB / 0.6578 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002822/0.1827, allocations: 23.95 kB / 0.6578 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.771e-05/0.1828, allocations: 4 kB / 0.6578 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.1828, allocations: 4 kB / 0.6578 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000207/0.183, allocations: 147.2 kB / 0.6579 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.183, allocations: 0 / 0.6579 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003381/0.1834, allocations: 39.95 kB / 0.658 GB, free: 11.57 MB / 0.4981 GB 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 () * Number of clocked 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 (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.001115/0.1845, allocations: 0.7903 MB / 0.6587 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00108/0.1856, allocations: 207.8 kB / 0.6589 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1856, allocations: 0 / 0.6589 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003674/0.1859, allocations: 72.36 kB / 0.659 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003091/0.1863, allocations: 8 kB / 0.659 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004751/0.191, allocations: 1.926 MB / 0.6609 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003337/0.1914, allocations: 0.6963 MB / 0.6616 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000137/0.1915, allocations: 20 kB / 0.6616 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.1916, allocations: 39.39 kB / 0.6616 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of SimCode: time 4.4e-07/0.1916, allocations: 4 kB / 0.6616 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02343/0.2151, allocations: 3.002 MB / 0.6646 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.963/8.178, allocations: 5.312 kB / 0.6646 GB, free: 4.758 MB / 0.4981 GB (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Fluid_Movers_BaseClasses_Validation_PowerInterface.fmu > IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1)