Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/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.FlowMachineInterface,fileNamePrefix="IDEAS_IDEAS_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface,fileNamePrefix="IDEAS_IDEAS_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.001559/0.001559, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001346/0.001345, allocations: 196.8 kB / 16.53 MB, free: 6.664 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.381/1.381, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7639/0.7639, allocations: 132.2 MB / 422.6 MB, free: 1.801 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 68.2 kB / 0.5019 GB, free: 3.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3903/0.3918, allocations: 80.2 MB / 0.5802 GB, free: 4.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface): time 0.003121/0.3949, allocations: 2.025 MB / 0.5822 GB, free: 3.156 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002828/0.3978, allocations: 2.019 MB / 0.5841 GB, free: 1.793 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001704/0.398, allocations: 8.656 kB / 0.5842 GB, free: 1.789 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007478/0.3987, allocations: 255.6 kB / 0.5844 GB, free: 1.691 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000722/0.3995, allocations: 298.7 kB / 0.5847 GB, free: 1.555 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000988/0.4005, allocations: 492.8 kB / 0.5852 GB, free: 1.34 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005672/0.401, allocations: 460 kB / 0.5856 GB, free: 1.148 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.596e-05/0.4012, allocations: 33.27 kB / 0.5856 GB, free: 1.133 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000193/0.4014, allocations: 161.8 kB / 0.5858 GB, free: 1.07 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002519/0.4016, allocations: 164.7 kB / 0.5859 GB, free: 1.004 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.421e-05/0.4017, allocations: 18.64 kB / 0.586 GB, free: 1 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007183/0.4024, allocations: 448.6 kB / 0.5864 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.4025, allocations: 96.39 kB / 0.5865 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001045/0.4026, allocations: 114.7 kB / 0.5866 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007281/0.4034, allocations: 0.5789 MB / 0.5871 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.4034, allocations: 0 / 0.5871 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of FrontEnd: time 8.51e-07/0.4034, allocations: 1.062 kB / 0.5872 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.4034, allocations: 0 / 0.5872 GB, free: 0.5469 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.000733/0.4041, allocations: 0.599 MB / 0.5877 GB, free: 28 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.4042, allocations: 9.562 kB / 0.5877 GB, free: 28 kB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.106e-05/0.4042, allocations: 39.47 kB / 0.5878 GB, free: 15.98 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000301/0.4045, allocations: 48.55 kB / 0.5878 GB, free: 15.97 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004287/0.405, allocations: 333.9 kB / 0.5881 GB, free: 15.7 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.405, allocations: 12.66 kB / 0.5882 GB, free: 15.69 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.137e-05/0.405, allocations: 11.59 kB / 0.5882 GB, free: 15.69 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003583/0.4054, allocations: 148 kB / 0.5883 GB, free: 15.63 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.4054, allocations: 0 / 0.5883 GB, free: 15.63 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/0.4054, allocations: 4 kB / 0.5883 GB, free: 15.62 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.4055, allocations: 2.125 kB / 0.5883 GB, free: 15.62 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004009/0.4059, allocations: 127.4 kB / 0.5884 GB, free: 15.6 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007195/0.4066, allocations: 0.4919 MB / 0.5889 GB, free: 15.22 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003674/0.407, allocations: 136.3 kB / 0.589 GB, free: 15.16 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001928/0.4072, allocations: 63.8 kB / 0.5891 GB, free: 15.14 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/0.4072, allocations: 6.953 kB / 0.5891 GB, free: 15.13 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.4072, allocations: 36.36 kB / 0.5892 GB, free: 15.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.4072, allocations: 3.938 kB / 0.5892 GB, free: 15.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007278/0.408, allocations: 236.3 kB / 0.5894 GB, free: 14.99 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/0.408, allocations: 53.55 kB / 0.5894 GB, free: 14.93 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003698/0.4084, allocations: 337.4 kB / 0.5898 GB, free: 14.75 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.4084, allocations: 26.98 kB / 0.5898 GB, free: 14.72 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.4085, allocations: 157.6 kB / 0.5899 GB, free: 14.59 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.34e-05/0.4086, allocations: 29.14 kB / 0.59 GB, free: 14.56 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.281e-05/0.4087, allocations: 52.95 kB / 0.59 GB, free: 14.53 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.4088, allocations: 339.5 kB / 0.5903 GB, free: 14.21 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002818/0.4091, allocations: 117.7 kB / 0.5904 GB, free: 14.17 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003028/0.4094, allocations: 162.4 kB / 0.5906 GB, free: 14.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005487/0.4099, allocations: 275.2 kB / 0.5909 GB, free: 13.94 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.41, allocations: 0.75 kB / 0.5909 GB, free: 13.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000732/0.4107, allocations: 334.9 kB / 0.5912 GB, free: 13.81 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.4107, allocations: 8.672 kB / 0.5912 GB, free: 13.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.4107, allocations: 2.469 kB / 0.5912 GB, free: 13.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.4108, allocations: 6.062 kB / 0.5912 GB, free: 13.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000246/0.411, allocations: 55.48 kB / 0.5912 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.411, allocations: 3.078 kB / 0.5913 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001818/0.4112, allocations: 24.53 kB / 0.5913 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.616e-05/0.4113, allocations: 16.27 kB / 0.5913 GB, free: 13.78 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003251/0.4116, allocations: 207.1 kB / 0.5915 GB, free: 13.66 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002704/0.4119, allocations: 142.5 kB / 0.5916 GB, free: 13.57 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004922/0.4124, allocations: 244.6 kB / 0.5919 GB, free: 13.44 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.534e-06/0.4124, allocations: 1.125 kB / 0.5919 GB, free: 13.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0006408/0.413, allocations: 287.1 kB / 0.5921 GB, free: 13.33 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.796e-06/0.4131, allocations: 6.469 kB / 0.5921 GB, free: 13.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.4131, allocations: 2.344 kB / 0.5921 GB, free: 13.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.008e-06/0.4131, allocations: 3.062 kB / 0.5921 GB, free: 13.33 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002077/0.4133, allocations: 51.92 kB / 0.5922 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.4133, allocations: 6.938 kB / 0.5922 GB, free: 13.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001693/0.4135, allocations: 19.64 kB / 0.5922 GB, free: 13.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.39e-05/0.4135, allocations: 15.16 kB / 0.5922 GB, free: 13.3 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 (19): * Single equations (assignments): 18 * Array equations: 1 * 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.0001095/0.4136, allocations: 189 kB / 0.5924 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.054e-05/0.4137, allocations: 22.28 kB / 0.5924 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005666/0.4143, allocations: 211.3 kB / 0.5926 GB, free: 13.01 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.4143, allocations: 1.438 kB / 0.5926 GB, free: 13.01 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.4143, allocations: 0 / 0.5926 GB, free: 13.01 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.4143, allocations: 0.7969 kB / 0.5926 GB, free: 13.01 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003112/0.4146, allocations: 274.5 kB / 0.5929 GB, free: 12.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.4146, allocations: 4 kB / 0.5929 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001474/0.4148, allocations: 30.81 kB / 0.5929 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.4148, allocations: 0.8438 kB / 0.5929 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.4148, allocations: 4.875 kB / 0.5929 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.4148, allocations: 0 / 0.5929 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.4148, allocations: 3.844 kB / 0.5929 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000526/0.4153, allocations: 283.9 kB / 0.5932 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.333e-05/0.4154, allocations: 107.3 kB / 0.5933 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.823e-05/0.4155, allocations: 5.156 kB / 0.5933 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/0.4157, allocations: 11.91 kB / 0.5933 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.056e-05/0.4157, allocations: 6.859 kB / 0.5933 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.4157, allocations: 8.297 kB / 0.5933 GB, free: 12.45 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002566/0.416, allocations: 246.1 kB / 0.5936 GB, free: 12.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.416, allocations: 0 / 0.5936 GB, free: 12.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007205/0.4167, allocations: 145 kB / 0.5937 GB, free: 12.3 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 (10): * Single equations (assignments): 10 * 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.001072/0.4178, allocations: 0.9083 MB / 0.5946 GB, free: 11.56 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008398/0.4186, allocations: 333.6 kB / 0.5949 GB, free: 11.47 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4187, allocations: 0 / 0.5949 GB, free: 11.47 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000195/0.4189, allocations: 68.83 kB / 0.595 GB, free: 11.45 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005237/0.4194, allocations: 105.5 kB / 0.5951 GB, free: 11.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004066/0.4235, allocations: 3.018 MB / 0.598 GB, free: 9.285 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002969/0.4238, allocations: 0.7701 MB / 0.5988 GB, free: 8.543 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003072/0.4241, allocations: 83.89 kB / 0.5989 GB, free: 8.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000141/0.4243, allocations: 86.91 kB / 0.599 GB, free: 8.434 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4243, allocations: 0 / 0.599 GB, free: 8.434 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02752/0.4518, allocations: 9.246 MB / 0.608 GB, free: 3.945 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.463/7.915, allocations: 4.516 kB / 0.608 GB, free: 3.945 MB / 446.1 MB (rm -f IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Fluid_Movers_BaseClasses_Validation_FlowMachineInterface.fmu > IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.FlowMachineInterface.pipe 2>&1)