Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.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.FlowMachineInterface,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",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.001036/0.001036, allocations: 103.6 kB / 16.4 MB, free: 6.5 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.001023/0.001023, allocations: 192 kB / 17.34 MB, free: 5.738 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.251/1.251, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7477/0.7477, allocations: 122.8 MB / 414.1 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 67.81 kB / 0.568 GB, free: 28.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1435, allocations: 77.93 MB / 0.6441 GB, free: 9.562 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.003932/0.1475, allocations: 2.285 MB / 0.6463 GB, free: 7.262 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006145/0.1537, allocations: 3.792 MB / 0.65 GB, free: 3.453 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003797/0.1541, allocations: 4 kB / 0.65 GB, free: 3.449 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003177/0.1573, allocations: 1.054 MB / 0.651 GB, free: 2.395 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001124/0.1585, allocations: 422.4 kB / 0.6514 GB, free: 1.98 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001231/0.1597, allocations: 0.5107 MB / 0.6519 GB, free: 1.469 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004731/0.1645, allocations: 3.144 MB / 0.655 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001765/0.1647, allocations: 44.73 kB / 0.655 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000455/0.1651, allocations: 231.2 kB / 0.6553 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003815/0.1655, allocations: 219.2 kB / 0.6555 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.17e-05/0.1656, allocations: 20 kB / 0.6555 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001357/0.167, allocations: 0.7525 MB / 0.6562 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002877/0.1673, allocations: 219.4 kB / 0.6564 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002933/0.1676, allocations: 250.5 kB / 0.6567 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001779/0.1694, allocations: 1.07 MB / 0.6577 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.904e-06/0.1694, allocations: 4 kB / 0.6577 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.104e-06/0.1694, allocations: 0 / 0.6577 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.465e-05/0.1695, allocations: 3.938 kB / 0.6577 GB, free: 11.52 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.002117/0.1716, allocations: 0.9462 MB / 0.6587 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/0.1717, allocations: 12.62 kB / 0.6587 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.255e-05/0.1717, allocations: 34.75 kB / 0.6587 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001376/0.1731, allocations: 224.3 kB / 0.6589 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006225/0.1794, allocations: 3.596 MB / 0.6624 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.451e-05/0.1794, allocations: 11.98 kB / 0.6624 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.048e-05/0.1795, allocations: 16 kB / 0.6624 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006061/0.1801, allocations: 257.4 kB / 0.6627 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.1801, allocations: 0 / 0.6627 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.344e-05/0.1802, allocations: 0 / 0.6627 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.423e-06/0.1802, allocations: 4 kB / 0.6627 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006487/0.1808, allocations: 235.8 kB / 0.6629 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001507/0.1823, allocations: 0.8241 MB / 0.6637 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006832/0.183, allocations: 298.6 kB / 0.664 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003345/0.1834, allocations: 132.7 kB / 0.6641 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.1834, allocations: 0 / 0.6641 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.1835, allocations: 34.56 kB / 0.6642 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.693e-06/0.1835, allocations: 0 / 0.6642 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.001219/0.1847, allocations: 449 kB / 0.6646 GB, free: 4.293 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.1847, allocations: 51.41 kB / 0.6646 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009025/0.1856, allocations: 0.7617 MB / 0.6654 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.075e-05/0.1857, allocations: 29.7 kB / 0.6654 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001857/0.1859, allocations: 236.9 kB / 0.6656 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.709e-05/0.186, allocations: 43.69 kB / 0.6657 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000214/0.1862, allocations: 154 kB / 0.6658 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.1863, allocations: 378.8 kB / 0.6662 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006506/0.187, allocations: 446.9 kB / 0.6666 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007129/0.1877, allocations: 0.5161 MB / 0.6671 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001266/0.189, allocations: 0.8702 MB / 0.668 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.189, allocations: 4.375 kB / 0.668 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001629/0.1906, allocations: 1.073 MB / 0.669 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.1907, allocations: 8 kB / 0.669 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.1907, allocations: 0 / 0.669 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.1907, allocations: 11.88 kB / 0.669 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004761/0.1912, allocations: 115.9 kB / 0.6692 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.014e-05/0.1912, allocations: 4 kB / 0.6692 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004788/0.1917, allocations: 75.53 kB / 0.6692 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.993e-05/0.1918, allocations: 35.98 kB / 0.6693 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007977/0.1926, allocations: 0.5403 MB / 0.6698 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006387/0.1932, allocations: 468.4 kB / 0.6702 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001085/0.1943, allocations: 0.7237 MB / 0.6709 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.67e-06/0.1943, allocations: 4 kB / 0.671 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.001499/0.1959, allocations: 0.919 MB / 0.6719 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.1959, allocations: 12 kB / 0.6719 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1959, allocations: 0 / 0.6719 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.738e-06/0.1959, allocations: 4 kB / 0.6719 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004296/0.1963, allocations: 111.8 kB / 0.672 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.1964, allocations: 4 kB / 0.672 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004577/0.1968, allocations: 63.73 kB / 0.672 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.377e-05/0.1969, allocations: 24 kB / 0.6721 GB, free: 12.47 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (52): * Single equations (assignments): 50 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0001729/0.1971, allocations: 200.1 kB / 0.6723 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.985e-05/0.1972, allocations: 51.62 kB / 0.6723 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009258/0.1981, allocations: 366.7 kB / 0.6726 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.1981, allocations: 0 / 0.6726 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.1981, allocations: 0 / 0.6726 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.1981, allocations: 3.984 kB / 0.6727 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004747/0.1986, allocations: 413.3 kB / 0.673 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1986, allocations: 0 / 0.673 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002519/0.1989, allocations: 43.97 kB / 0.6731 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.1989, allocations: 0 / 0.6731 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.02e-05/0.1989, allocations: 11.92 kB / 0.6731 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.1989, allocations: 0 / 0.6731 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1989, allocations: 0 / 0.6731 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007654/0.1997, allocations: 426.9 kB / 0.6735 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001731/0.1999, allocations: 152.6 kB / 0.6737 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.526e-05/0.2, allocations: 11.94 kB / 0.6737 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002831/0.2002, allocations: 23.97 kB / 0.6737 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.064e-05/0.2003, allocations: 7.984 kB / 0.6737 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-05/0.2003, allocations: 8 kB / 0.6737 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005807/0.2009, allocations: 0.5107 MB / 0.6742 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2009, allocations: 0 / 0.6742 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009079/0.2018, allocations: 319.5 kB / 0.6745 GB, free: 9.863 MB / 0.5137 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 (11): * Single equations (assignments): 11 * 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.001628/0.2035, allocations: 1.231 MB / 0.6757 GB, free: 8.602 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001902/0.2054, allocations: 1.141 MB / 0.6768 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2054, allocations: 0 / 0.6768 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003353/0.2057, allocations: 136.3 kB / 0.677 GB, free: 7.324 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000853/0.2066, allocations: 207.2 kB / 0.6772 GB, free: 7.137 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007927/0.2145, allocations: 6.06 MB / 0.6831 GB, free: 0.957 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004231/0.215, allocations: 0.9012 MB / 0.6839 GB, free: 28 kB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006541/0.2157, allocations: 196.3 kB / 0.6841 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003059/0.216, allocations: 199.3 kB / 0.6843 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of SimCode: time 8.42e-07/0.216, allocations: 0 / 0.6843 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03917/0.2552, allocations: 17.55 MB / 0.7015 GB, free: 14.32 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.725/8.98, allocations: 15.28 kB / 0.7015 GB, free: 14.32 MB / 0.545 GB (rm -f IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface_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_FlowMachineInterface.fmu > IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)