Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.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.EulerReducedSpeed,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Movers_BaseClasses_Validation_EulerReducedSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Movers_BaseClasses_Validation_EulerReducedSpeed",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.001181/0.001182, allocations: 104.6 kB / 16.27 MB, free: 5.93 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.001242/0.001242, allocations: 187.4 kB / 17.2 MB, free: 5.574 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.287/1.287, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7685/0.7685, allocations: 122.9 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 67.89 kB / 0.4912 GB, free: 7.336 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3417, allocations: 77.92 MB / 0.5673 GB, free: 32.69 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed): time 0.005664/0.3475, allocations: 4.885 MB / 0.5721 GB, free: 29.23 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009625/0.3571, allocations: 5.559 MB / 0.5775 GB, free: 25.52 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001206/0.3584, allocations: 24.25 kB / 0.5775 GB, free: 25.52 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01298/0.3714, allocations: 7.902 MB / 0.5852 GB, free: 22.48 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003055/0.3745, allocations: 1.095 MB / 0.5863 GB, free: 21.65 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003101/0.3776, allocations: 1.182 MB / 0.5874 GB, free: 20.85 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01547/0.3931, allocations: 11.84 MB / 0.599 GB, free: 10.38 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000408/0.3935, allocations: 155 kB / 0.5992 GB, free: 10.21 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001388/0.3949, allocations: 0.837 MB / 0.6 GB, free: 9.371 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001184/0.3961, allocations: 0.8521 MB / 0.6008 GB, free: 8.516 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003655/0.3965, allocations: 92 kB / 0.6009 GB, free: 8.426 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002335/0.3988, allocations: 1.365 MB / 0.6022 GB, free: 7.059 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000927/0.3998, allocations: 1.145 MB / 0.6034 GB, free: 5.91 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001661/0.4015, allocations: 1.251 MB / 0.6046 GB, free: 4.652 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004043/0.4055, allocations: 3.956 MB / 0.6084 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.4055, allocations: 0 / 0.6084 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.4055, allocations: 0 / 0.6084 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.485e-05/0.4056, allocations: 0 / 0.6084 GB, free: 0.6836 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.006396/0.4121, allocations: 3.056 MB / 0.6114 GB, free: 13.56 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.4121, allocations: 8.625 kB / 0.6114 GB, free: 13.55 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.745e-05/0.4122, allocations: 58.55 kB / 0.6115 GB, free: 13.48 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004021/0.4162, allocations: 0.7185 MB / 0.6122 GB, free: 12.76 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00691/0.4232, allocations: 4.171 MB / 0.6163 GB, free: 8.531 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.166e-05/0.4233, allocations: 37.12 kB / 0.6163 GB, free: 8.496 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000254/0.4235, allocations: 51.94 kB / 0.6163 GB, free: 8.445 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001874/0.4254, allocations: 0.9884 MB / 0.6173 GB, free: 7.449 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.4255, allocations: 0 / 0.6173 GB, free: 7.449 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.283e-05/0.4255, allocations: 12 kB / 0.6173 GB, free: 7.438 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.4255, allocations: 8 kB / 0.6173 GB, free: 7.43 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002137/0.4277, allocations: 0.8453 MB / 0.6182 GB, free: 6.582 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006491/0.4342, allocations: 3.266 MB / 0.6213 GB, free: 3.262 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002211/0.4364, allocations: 1.148 MB / 0.6225 GB, free: 2.105 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00101/0.4375, allocations: 457.1 kB / 0.6229 GB, free: 1.656 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.24e-05/0.4375, allocations: 16.22 kB / 0.6229 GB, free: 1.641 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.4376, allocations: 38.84 kB / 0.623 GB, free: 1.594 MB / 462.1 MB Notification: Performance of pre-optimization done (n=33): time 2.264e-06/0.4376, allocations: 0 / 0.623 GB, free: 1.594 MB / 462.1 MB Notification: Performance of matching and sorting (n=33): time 0.004425/0.442, allocations: 1.619 MB / 0.6245 GB, free: 15.96 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.175e-05/0.4421, allocations: 55.34 kB / 0.6246 GB, free: 15.9 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007125/0.4492, allocations: 3.751 MB / 0.6282 GB, free: 12.15 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000186/0.4494, allocations: 49.69 kB / 0.6283 GB, free: 12.1 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001045/0.4505, allocations: 0.9849 MB / 0.6293 GB, free: 11.11 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002186/0.4507, allocations: 126.3 kB / 0.6294 GB, free: 10.98 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008567/0.4516, allocations: 0.5714 MB / 0.6299 GB, free: 10.41 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.18e-05/0.4517, allocations: 305.1 kB / 0.6302 GB, free: 10.11 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002635/0.4543, allocations: 1.92 MB / 0.6321 GB, free: 8.18 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003032/0.4573, allocations: 2.453 MB / 0.6345 GB, free: 5.555 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005119/0.4625, allocations: 4.025 MB / 0.6384 GB, free: 1.352 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-05/0.4625, allocations: 4 kB / 0.6384 GB, free: 1.348 MB / 478.1 MB Notification: Performance of matching and sorting (n=333) (initialization): time 0.006842/0.4694, allocations: 4.694 MB / 0.643 GB, free: 12.61 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.645e-05/0.4694, allocations: 12 kB / 0.643 GB, free: 12.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.362e-05/0.4695, allocations: 8 kB / 0.643 GB, free: 12.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.807e-05/0.4695, allocations: 23.98 kB / 0.6431 GB, free: 12.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001568/0.4711, allocations: 419.5 kB / 0.6435 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.865e-05/0.4711, allocations: 31.81 kB / 0.6435 GB, free: 12.13 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002113/0.4732, allocations: 257.6 kB / 0.6437 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000216/0.4735, allocations: 124 kB / 0.6439 GB, free: 11.75 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0034/0.4769, allocations: 2.253 MB / 0.6461 GB, free: 9.496 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002875/0.4798, allocations: 2.172 MB / 0.6482 GB, free: 7.152 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004734/0.4845, allocations: 3.447 MB / 0.6515 GB, free: 3.531 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.214e-05/0.4846, allocations: 4 kB / 0.6515 GB, free: 3.527 MB / 494.1 MB Notification: Performance of matching and sorting (n=333) (initialization_lambda0): time 0.006652/0.4912, allocations: 4.101 MB / 0.6555 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.4913, allocations: 11.94 kB / 0.6556 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.949e-05/0.4913, allocations: 12 kB / 0.6556 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.259e-05/0.4913, allocations: 24.03 kB / 0.6556 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001491/0.4928, allocations: 411.4 kB / 0.656 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.631e-05/0.4929, allocations: 27.92 kB / 0.656 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002343/0.4952, allocations: 218.8 kB / 0.6562 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001914/0.4954, allocations: 108 kB / 0.6563 GB, free: 14.59 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (213): * Single equations (assignments): 204 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 6 * 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.0004167/0.4959, allocations: 264.4 kB / 0.6566 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000653/0.4965, allocations: 264.4 kB / 0.6568 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003023/0.4996, allocations: 1.228 MB / 0.658 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.4996, allocations: 7.938 kB / 0.658 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.4996, allocations: 0 / 0.658 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.4996, allocations: 7.984 kB / 0.658 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002587/0.5022, allocations: 1.521 MB / 0.6595 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.293e-06/0.5022, allocations: 3.938 kB / 0.6595 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007554/0.503, allocations: 127.8 kB / 0.6597 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.075e-06/0.503, allocations: 4 kB / 0.6597 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.14e-05/0.5031, allocations: 11.98 kB / 0.6597 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.5031, allocations: 0 / 0.6597 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.5031, allocations: 0 / 0.6597 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002708/0.5058, allocations: 1.293 MB / 0.6609 GB, free: 9.777 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001046/0.5068, allocations: 497.2 kB / 0.6614 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005948/0.5074, allocations: 15.98 kB / 0.6614 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001274/0.5087, allocations: 63.94 kB / 0.6615 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.992e-05/0.5088, allocations: 31.95 kB / 0.6615 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.359e-05/0.5089, allocations: 19.98 kB / 0.6615 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003927/0.5128, allocations: 2.493 MB / 0.664 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5128, allocations: 0 / 0.664 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003373/0.5162, allocations: 1.07 MB / 0.665 GB, free: 5.59 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 (36): * Single equations (assignments): 36 * 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.004101/0.5203, allocations: 2.212 MB / 0.6672 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007438/0.5278, allocations: 4.861 MB / 0.6719 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.5278, allocations: 0 / 0.6719 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001055/0.5289, allocations: 469 kB / 0.6724 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005071/0.534, allocations: 1.275 MB / 0.6736 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04707/0.581, allocations: 30.78 MB / 0.7037 GB, free: 12.27 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001563/0.5826, allocations: 1.777 MB / 0.7054 GB, free: 10.46 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003336/0.586, allocations: 0.7778 MB / 0.7062 GB, free: 9.672 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001591/0.5876, allocations: 1.023 MB / 0.7072 GB, free: 8.648 MB / 0.545 GB Notification: Performance of SimCode: time 8.91e-07/0.5876, allocations: 3.938 kB / 0.7072 GB, free: 8.645 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3821/0.9698, allocations: 81.47 MB / 0.7867 GB, free: 136.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.035/10, allocations: 10.42 kB / 0.7867 GB, free: 136.1 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed_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_EulerReducedSpeed.fmu > IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.EulerReducedSpeed.pipe 2>&1)