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.001273/0.001273, allocations: 111.3 kB / 16.41 MB, free: 6.445 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.001201/0.001201, allocations: 189.2 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.361/1.361, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7853/0.7853, allocations: 126.7 MB / 417.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001969, allocations: 68.86 kB / 0.5735 GB, free: 27.1 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1679, allocations: 78.86 MB / 0.6506 GB, free: 3.602 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.003789/0.1718, allocations: 2.299 MB / 0.6528 GB, free: 1.289 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006128/0.1779, allocations: 3.792 MB / 0.6565 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003013/0.1783, allocations: 7.938 kB / 0.6565 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002947/0.1812, allocations: 1.058 MB / 0.6575 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0009906/0.1822, allocations: 430.3 kB / 0.658 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001178/0.1834, allocations: 0.5107 MB / 0.6585 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00473/0.1882, allocations: 3.179 MB / 0.6616 GB, free: 8.297 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.1883, allocations: 48.72 kB / 0.6616 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003256/0.1886, allocations: 215.3 kB / 0.6618 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003091/0.189, allocations: 219.1 kB / 0.662 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.286e-05/0.189, allocations: 20 kB / 0.662 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001295/0.1903, allocations: 0.7486 MB / 0.6628 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002379/0.1906, allocations: 223.4 kB / 0.663 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002382/0.1908, allocations: 258.5 kB / 0.6632 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001397/0.1922, allocations: 1.066 MB / 0.6643 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1922, allocations: 3.938 kB / 0.6643 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.336e-06/0.1923, allocations: 4 kB / 0.6643 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.1923, allocations: 0 / 0.6643 GB, free: 5.504 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.001541/0.1938, allocations: 0.9403 MB / 0.6652 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.1939, allocations: 12.03 kB / 0.6652 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.941e-05/0.1939, allocations: 42.73 kB / 0.6652 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001219/0.1951, allocations: 215.7 kB / 0.6655 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006144/0.2013, allocations: 3.588 MB / 0.669 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.2014, allocations: 8 kB / 0.669 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.14e-05/0.2014, allocations: 20 kB / 0.669 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005703/0.202, allocations: 258.5 kB / 0.6692 GB, free: 328 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.202, allocations: 0 / 0.6692 GB, free: 328 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/0.202, allocations: 0 / 0.6692 GB, free: 328 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.202, allocations: 4 kB / 0.6692 GB, free: 324 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006675/0.2027, allocations: 239.8 kB / 0.6695 GB, free: 84 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001485/0.2042, allocations: 0.8358 MB / 0.6703 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007294/0.205, allocations: 298.5 kB / 0.6706 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003291/0.2053, allocations: 116.8 kB / 0.6707 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.204e-05/0.2053, allocations: 11.92 kB / 0.6707 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.2054, allocations: 34.56 kB / 0.6707 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=10): time 1.663e-06/0.2054, allocations: 0 / 0.6707 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10): time 0.001263/0.2066, allocations: 453 kB / 0.6711 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/0.2067, allocations: 51.41 kB / 0.6712 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000914/0.2076, allocations: 0.7578 MB / 0.6719 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.904e-05/0.2077, allocations: 33.7 kB / 0.672 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002079/0.2079, allocations: 237.2 kB / 0.6722 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.711e-05/0.2079, allocations: 35.73 kB / 0.6722 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002227/0.2082, allocations: 162 kB / 0.6724 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001928/0.2084, allocations: 382.7 kB / 0.6728 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006954/0.2091, allocations: 438.9 kB / 0.6732 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007644/0.2099, allocations: 0.5316 MB / 0.6737 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001326/0.2112, allocations: 0.8664 MB / 0.6745 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.2112, allocations: 0 / 0.6745 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00172/0.2129, allocations: 1.069 MB / 0.6756 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.213, allocations: 4 kB / 0.6756 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.213, allocations: 224 / 0.6756 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.213, allocations: 8 kB / 0.6756 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004644/0.2135, allocations: 107.9 kB / 0.6757 GB, free: 9.496 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/0.2135, allocations: 7.938 kB / 0.6757 GB, free: 9.488 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004405/0.2139, allocations: 87.47 kB / 0.6758 GB, free: 9.402 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-05/0.214, allocations: 28 kB / 0.6758 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008332/0.2149, allocations: 0.5364 MB / 0.6763 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007017/0.2156, allocations: 472.5 kB / 0.6768 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001174/0.2167, allocations: 0.7353 MB / 0.6775 GB, free: 7.59 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.986e-06/0.2168, allocations: 0 / 0.6775 GB, free: 7.59 MB / 0.5137 GB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.001565/0.2183, allocations: 0.9147 MB / 0.6784 GB, free: 6.664 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.2184, allocations: 9.719 kB / 0.6784 GB, free: 6.656 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.2184, allocations: 0 / 0.6784 GB, free: 6.656 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.015e-06/0.2184, allocations: 4 kB / 0.6784 GB, free: 6.652 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004386/0.2188, allocations: 104 kB / 0.6785 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.2188, allocations: 7.984 kB / 0.6785 GB, free: 6.543 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004273/0.2193, allocations: 63.7 kB / 0.6786 GB, free: 6.48 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.758e-05/0.2193, allocations: 31.98 kB / 0.6786 GB, free: 6.449 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.0001895/0.2195, allocations: 200.1 kB / 0.6788 GB, free: 6.246 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.224e-05/0.2196, allocations: 55.62 kB / 0.6789 GB, free: 6.191 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009631/0.2206, allocations: 350.9 kB / 0.6792 GB, free: 5.84 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.2206, allocations: 0 / 0.6792 GB, free: 5.84 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.2206, allocations: 4 kB / 0.6792 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.2206, allocations: 4 kB / 0.6792 GB, free: 5.832 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005193/0.2211, allocations: 428.9 kB / 0.6796 GB, free: 5.363 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.2212, allocations: 3.938 kB / 0.6796 GB, free: 5.359 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002444/0.2214, allocations: 43.89 kB / 0.6796 GB, free: 5.316 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.2214, allocations: 4 kB / 0.6797 GB, free: 5.312 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/0.2214, allocations: 0 / 0.6797 GB, free: 5.312 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/0.2215, allocations: 4 kB / 0.6797 GB, free: 5.309 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2215, allocations: 4 kB / 0.6797 GB, free: 5.305 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008166/0.2223, allocations: 422.9 kB / 0.6801 GB, free: 4.875 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001878/0.2225, allocations: 152.7 kB / 0.6802 GB, free: 4.707 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.044e-05/0.2225, allocations: 0 / 0.6802 GB, free: 4.707 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000273/0.2228, allocations: 23.98 kB / 0.6802 GB, free: 4.684 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.79e-05/0.2229, allocations: 7.984 kB / 0.6802 GB, free: 4.676 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.602e-05/0.2229, allocations: 11.98 kB / 0.6802 GB, free: 4.664 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006354/0.2236, allocations: 0.5184 MB / 0.6808 GB, free: 4.148 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2236, allocations: 0 / 0.6808 GB, free: 4.148 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009549/0.2245, allocations: 315.6 kB / 0.6811 GB, free: 3.84 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.00186/0.2264, allocations: 1.223 MB / 0.6823 GB, free: 2.586 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002063/0.2285, allocations: 1.139 MB / 0.6834 GB, free: 1.449 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2285, allocations: 0 / 0.6834 GB, free: 1.449 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003547/0.2288, allocations: 135.9 kB / 0.6835 GB, free: 1.316 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009157/0.2298, allocations: 207.7 kB / 0.6837 GB, free: 1.125 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009463/0.2392, allocations: 6.111 MB / 0.6897 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000565/0.2399, allocations: 0.8973 MB / 0.6905 GB, free: 9.965 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000688/0.2405, allocations: 196.3 kB / 0.6907 GB, free: 9.77 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003388/0.2409, allocations: 195.3 kB / 0.6909 GB, free: 9.578 MB / 0.5294 GB Notification: Performance of SimCode: time 6.12e-07/0.2409, allocations: 0 / 0.6909 GB, free: 9.578 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04676/0.2877, allocations: 17.55 MB / 0.708 GB, free: 8.27 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.95/9.237, allocations: 17.59 kB / 0.7081 GB, free: 8.258 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)