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.001294/0.001294, allocations: 107 kB / 16.27 MB, free: 5.875 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.001169/0.001169, allocations: 183.9 kB / 17.19 MB, free: 5.52 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.345/1.345, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7506/0.7506, allocations: 122.8 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 67.84 kB / 0.4912 GB, free: 7.344 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.344/0.3454, allocations: 77.92 MB / 0.5673 GB, free: 32.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.003501/0.3489, allocations: 2.29 MB / 0.5695 GB, free: 30.97 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005461/0.3544, allocations: 3.773 MB / 0.5732 GB, free: 28.45 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004625/0.3549, allocations: 8.719 kB / 0.5732 GB, free: 28.45 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006125/0.3611, allocations: 2.998 MB / 0.5761 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001187/0.3623, allocations: 407.4 kB / 0.5765 GB, free: 27.45 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001166/0.3635, allocations: 0.509 MB / 0.577 GB, free: 27.21 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004335/0.3678, allocations: 3.094 MB / 0.5801 GB, free: 26.04 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.368, allocations: 48.31 kB / 0.5801 GB, free: 26.02 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002776/0.3683, allocations: 204.1 kB / 0.5803 GB, free: 25.91 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000243/0.3685, allocations: 204.5 kB / 0.5805 GB, free: 25.79 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.681e-05/0.3686, allocations: 18.22 kB / 0.5805 GB, free: 25.79 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001184/0.3698, allocations: 0.7444 MB / 0.5812 GB, free: 25.37 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001708/0.37, allocations: 213.1 kB / 0.5814 GB, free: 25.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000193/0.3702, allocations: 251.7 kB / 0.5817 GB, free: 25.08 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001065/0.3712, allocations: 1.048 MB / 0.5827 GB, free: 24.39 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3712, allocations: 1.188 kB / 0.5827 GB, free: 24.39 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3713, allocations: 1.281 kB / 0.5827 GB, free: 24.39 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.3713, allocations: 0 / 0.5827 GB, free: 24.39 MB / 446.1 MB 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.001178/0.3724, allocations: 0.9124 MB / 0.5836 GB, free: 23.62 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.3725, allocations: 10.16 kB / 0.5836 GB, free: 23.62 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.37e-05/0.3725, allocations: 45.11 kB / 0.5836 GB, free: 23.57 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001223/0.3738, allocations: 208.3 kB / 0.5838 GB, free: 23.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00514/0.3789, allocations: 3.567 MB / 0.5873 GB, free: 21.21 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.835e-05/0.379, allocations: 13.83 kB / 0.5873 GB, free: 21.21 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.949e-05/0.379, allocations: 13.66 kB / 0.5874 GB, free: 21.2 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005214/0.3796, allocations: 259.6 kB / 0.5876 GB, free: 21.06 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.3796, allocations: 0 / 0.5876 GB, free: 21.06 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.312e-05/0.3796, allocations: 5.5 kB / 0.5876 GB, free: 21.06 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.3796, allocations: 1.469 kB / 0.5876 GB, free: 21.06 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006678/0.3803, allocations: 239.5 kB / 0.5878 GB, free: 20.96 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001192/0.3815, allocations: 0.8363 MB / 0.5887 GB, free: 20.35 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007021/0.3822, allocations: 307.4 kB / 0.5889 GB, free: 20.21 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000323/0.3825, allocations: 127.9 kB / 0.5891 GB, free: 20.15 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.656e-05/0.3826, allocations: 1.5 kB / 0.5891 GB, free: 20.15 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.416e-05/0.3826, allocations: 35.89 kB / 0.5891 GB, free: 20.11 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.403e-06/0.3826, allocations: 0 / 0.5891 GB, free: 20.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=10): time 0.001182/0.3838, allocations: 453.5 kB / 0.5895 GB, free: 19.88 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.981e-05/0.3838, allocations: 51.41 kB / 0.5896 GB, free: 19.82 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005928/0.3844, allocations: 0.7538 MB / 0.5903 GB, free: 19.05 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.637e-05/0.3845, allocations: 30.08 kB / 0.5903 GB, free: 19.02 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.3846, allocations: 240.8 kB / 0.5906 GB, free: 18.78 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.367e-05/0.3846, allocations: 35.45 kB / 0.5906 GB, free: 18.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001702/0.3848, allocations: 162 kB / 0.5908 GB, free: 18.58 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.794e-05/0.3849, allocations: 374.7 kB / 0.5911 GB, free: 18.21 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005438/0.3854, allocations: 442.9 kB / 0.5915 GB, free: 17.77 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000582/0.386, allocations: 0.5238 MB / 0.5921 GB, free: 17.21 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/0.3871, allocations: 0.8819 MB / 0.5929 GB, free: 16.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.3871, allocations: 3.938 kB / 0.5929 GB, free: 16.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00137/0.3884, allocations: 1.076 MB / 0.594 GB, free: 15.21 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.3885, allocations: 8 kB / 0.594 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.3885, allocations: 0 / 0.594 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.3885, allocations: 4 kB / 0.594 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000438/0.3889, allocations: 115.8 kB / 0.5941 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.389, allocations: 4 kB / 0.5941 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004492/0.3894, allocations: 75.33 kB / 0.5942 GB, free: 15.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.625e-05/0.3895, allocations: 32 kB / 0.5942 GB, free: 14.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006354/0.3901, allocations: 0.5442 MB / 0.5947 GB, free: 14.43 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005284/0.3907, allocations: 464.5 kB / 0.5952 GB, free: 13.95 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009155/0.3916, allocations: 0.7353 MB / 0.5959 GB, free: 13.19 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.054e-06/0.3916, allocations: 0 / 0.5959 GB, free: 13.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=85) (initialization_lambda0): time 0.001232/0.3928, allocations: 0.9265 MB / 0.5968 GB, free: 12.26 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.698e-06/0.3928, allocations: 4 kB / 0.5968 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.3929, allocations: 7.984 kB / 0.5968 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.639e-06/0.3929, allocations: 4 kB / 0.5968 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003859/0.3933, allocations: 107.9 kB / 0.5969 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.3933, allocations: 7.938 kB / 0.5969 GB, free: 12.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004019/0.3937, allocations: 59.64 kB / 0.597 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.852e-05/0.3937, allocations: 24 kB / 0.597 GB, free: 12.05 MB / 446.1 MB 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.0001196/0.3939, allocations: 205 kB / 0.5972 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.651e-05/0.3939, allocations: 55.25 kB / 0.5973 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008758/0.3948, allocations: 361.8 kB / 0.5976 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.3948, allocations: 0 / 0.5976 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.3948, allocations: 0 / 0.5976 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.3948, allocations: 4 kB / 0.5976 GB, free: 11.42 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003719/0.3952, allocations: 421.1 kB / 0.598 GB, free: 10.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3952, allocations: 0 / 0.598 GB, free: 10.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002368/0.3955, allocations: 43.95 kB / 0.598 GB, free: 10.92 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.3955, allocations: 4 kB / 0.598 GB, free: 10.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.3955, allocations: 0 / 0.598 GB, free: 10.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3955, allocations: 4 kB / 0.5981 GB, free: 10.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3955, allocations: 0 / 0.5981 GB, free: 10.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006938/0.3962, allocations: 430.5 kB / 0.5985 GB, free: 10.47 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001232/0.3963, allocations: 148.3 kB / 0.5986 GB, free: 10.31 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.607e-05/0.3964, allocations: 0 / 0.5986 GB, free: 10.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002716/0.3967, allocations: 31.97 kB / 0.5986 GB, free: 10.28 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.157e-05/0.3968, allocations: 11.98 kB / 0.5986 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.915e-05/0.3968, allocations: 8 kB / 0.5987 GB, free: 10.26 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004286/0.3972, allocations: 0.5029 MB / 0.5991 GB, free: 9.758 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3972, allocations: 3.938 kB / 0.5991 GB, free: 9.754 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00108/0.3983, allocations: 311.9 kB / 0.5994 GB, free: 9.449 MB / 446.1 MB 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.001615/0.3999, allocations: 1.231 MB / 0.6006 GB, free: 8.188 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001764/0.4017, allocations: 1.146 MB / 0.6018 GB, free: 7.043 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.4017, allocations: 8.062 kB / 0.6018 GB, free: 7.035 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003141/0.402, allocations: 127.9 kB / 0.6019 GB, free: 6.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008124/0.4029, allocations: 205 kB / 0.6021 GB, free: 6.723 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006594/0.4095, allocations: 6.102 MB / 0.6081 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003755/0.4099, allocations: 0.8974 MB / 0.6089 GB, free: 15.57 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007174/0.4106, allocations: 192.2 kB / 0.6091 GB, free: 15.38 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003274/0.4109, allocations: 199.3 kB / 0.6093 GB, free: 15.19 MB / 462.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4109, allocations: 0 / 0.6093 GB, free: 15.19 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03721/0.4482, allocations: 17.42 MB / 0.6263 GB, free: 14.03 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.46/7.908, allocations: 19.27 kB / 0.6263 GB, free: 14.02 MB / 478.1 MB (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)