Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods.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.TotalEfficiencyMethods,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Movers_BaseClasses_Validation_TotalEfficiencyMethods",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Movers_BaseClasses_Validation_TotalEfficiencyMethods",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.001056/0.001056, allocations: 102.9 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.001057/0.001057, allocations: 190.5 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.251/1.251, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7374/0.7374, allocations: 122.9 MB / 413.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 67.91 kB / 0.4912 GB, free: 7.328 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.296, allocations: 77.92 MB / 0.5673 GB, free: 32.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods): time 0.005058/0.3011, allocations: 4.893 MB / 0.5721 GB, free: 29.28 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008037/0.3092, allocations: 5.623 MB / 0.5776 GB, free: 25.53 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001161/0.3103, allocations: 27.47 kB / 0.5776 GB, free: 25.52 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01571/0.3261, allocations: 11.23 MB / 0.5886 GB, free: 20.92 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002491/0.3287, allocations: 1.201 MB / 0.5897 GB, free: 19.84 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002684/0.3314, allocations: 1.52 MB / 0.5912 GB, free: 18.33 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01636/0.3477, allocations: 15.51 MB / 0.6064 GB, free: 2.82 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000327/0.3481, allocations: 164.4 kB / 0.6065 GB, free: 2.648 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009496/0.349, allocations: 0.7747 MB / 0.6073 GB, free: 1.871 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007253/0.3498, allocations: 0.7428 MB / 0.608 GB, free: 1.125 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002021/0.35, allocations: 80 kB / 0.6081 GB, free: 1.047 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00209/0.3521, allocations: 1.482 MB / 0.6095 GB, free: 15.56 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007645/0.3528, allocations: 0.9115 MB / 0.6104 GB, free: 14.64 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001075/0.3539, allocations: 1.072 MB / 0.6115 GB, free: 13.57 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00379/0.3577, allocations: 3.594 MB / 0.615 GB, free: 9.961 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.3577, allocations: 0 / 0.615 GB, free: 9.961 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3577, allocations: 0 / 0.615 GB, free: 9.961 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.53e-05/0.3578, allocations: 8 kB / 0.615 GB, free: 9.953 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.004653/0.3625, allocations: 2.774 MB / 0.6177 GB, free: 7.109 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.3625, allocations: 12.56 kB / 0.6177 GB, free: 7.098 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.6e-05/0.3626, allocations: 62.55 kB / 0.6177 GB, free: 7.027 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005135/0.3677, allocations: 0.9413 MB / 0.6187 GB, free: 6.082 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006301/0.3741, allocations: 4.521 MB / 0.6231 GB, free: 1.5 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001355/0.3742, allocations: 44.95 kB / 0.6231 GB, free: 1.453 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000226/0.3744, allocations: 51.98 kB / 0.6232 GB, free: 1.402 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002142/0.3766, allocations: 0.8842 MB / 0.624 GB, free: 0.5117 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.3766, allocations: 4 kB / 0.624 GB, free: 0.5078 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.698e-05/0.3767, allocations: 16 kB / 0.6241 GB, free: 0.4922 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.745e-05/0.3767, allocations: 8 kB / 0.6241 GB, free: 496 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002924/0.3796, allocations: 0.9549 MB / 0.625 GB, free: 15.53 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005914/0.3856, allocations: 3.026 MB / 0.628 GB, free: 12.44 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003078/0.3887, allocations: 1.038 MB / 0.629 GB, free: 11.39 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001183/0.3899, allocations: 404.6 kB / 0.6294 GB, free: 10.99 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.186e-05/0.3899, allocations: 11.97 kB / 0.6294 GB, free: 10.98 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.39, allocations: 38.56 kB / 0.6294 GB, free: 10.93 MB / 478.1 MB Notification: Performance of pre-optimization done (n=32): time 2.083e-06/0.39, allocations: 0 / 0.6294 GB, free: 10.93 MB / 478.1 MB Notification: Performance of matching and sorting (n=32): time 0.00437/0.3944, allocations: 1.431 MB / 0.6308 GB, free: 9.492 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/0.3944, allocations: 55.41 kB / 0.6309 GB, free: 9.426 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005129/0.3996, allocations: 3.569 MB / 0.6343 GB, free: 5.844 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001318/0.3997, allocations: 33.7 kB / 0.6344 GB, free: 5.805 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008067/0.4005, allocations: 0.8338 MB / 0.6352 GB, free: 4.965 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001657/0.4007, allocations: 134.4 kB / 0.6353 GB, free: 4.832 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009086/0.4016, allocations: 0.5755 MB / 0.6359 GB, free: 4.254 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.4017, allocations: 305.1 kB / 0.6362 GB, free: 3.953 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002511/0.4042, allocations: 1.487 MB / 0.6376 GB, free: 2.461 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002791/0.407, allocations: 1.938 MB / 0.6395 GB, free: 384 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004565/0.4116, allocations: 3.067 MB / 0.6425 GB, free: 13.19 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-05/0.4116, allocations: 4 kB / 0.6425 GB, free: 13.19 MB / 494.1 MB Notification: Performance of matching and sorting (n=344) (initialization): time 0.0062/0.4179, allocations: 3.776 MB / 0.6462 GB, free: 9.406 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/0.4179, allocations: 8 kB / 0.6462 GB, free: 9.398 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.78e-05/0.4179, allocations: 8 kB / 0.6462 GB, free: 9.391 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.021e-05/0.418, allocations: 19.98 kB / 0.6462 GB, free: 9.371 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001632/0.4196, allocations: 439.6 kB / 0.6466 GB, free: 8.941 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.295e-05/0.4196, allocations: 23.92 kB / 0.6467 GB, free: 8.918 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001995/0.4216, allocations: 325.8 kB / 0.647 GB, free: 8.598 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001745/0.4218, allocations: 95.97 kB / 0.6471 GB, free: 8.504 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003004/0.4248, allocations: 1.894 MB / 0.6489 GB, free: 6.602 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002593/0.4274, allocations: 1.809 MB / 0.6507 GB, free: 4.645 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004249/0.4317, allocations: 2.768 MB / 0.6534 GB, free: 1.762 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.644e-06/0.4317, allocations: 4 kB / 0.6534 GB, free: 1.758 MB / 494.1 MB Notification: Performance of matching and sorting (n=344) (initialization_lambda0): time 0.00561/0.4373, allocations: 3.475 MB / 0.6568 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.4374, allocations: 8 kB / 0.6568 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/0.4374, allocations: 11.98 kB / 0.6568 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.4374, allocations: 16 kB / 0.6568 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001596/0.439, allocations: 431.5 kB / 0.6572 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.925e-05/0.4391, allocations: 19.94 kB / 0.6573 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002068/0.4411, allocations: 270.6 kB / 0.6575 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001605/0.4413, allocations: 91.89 kB / 0.6576 GB, free: 13.45 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (210): * Single equations (assignments): 201 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 5 * 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.0003387/0.4417, allocations: 255.8 kB / 0.6578 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004547/0.4421, allocations: 224.8 kB / 0.6581 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003177/0.4453, allocations: 1.092 MB / 0.6591 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.4453, allocations: 4 kB / 0.6591 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4453, allocations: 0 / 0.6591 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.4453, allocations: 3.938 kB / 0.6591 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001734/0.4471, allocations: 1.3 MB / 0.6604 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.4471, allocations: 4 kB / 0.6604 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008553/0.448, allocations: 155.8 kB / 0.6606 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.648e-06/0.448, allocations: 0 / 0.6606 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.147e-05/0.448, allocations: 11.98 kB / 0.6606 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.448, allocations: 4 kB / 0.6606 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.448, allocations: 3.984 kB / 0.6606 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002872/0.4509, allocations: 1.159 MB / 0.6617 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007177/0.4516, allocations: 445.7 kB / 0.6621 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003506/0.452, allocations: 11.98 kB / 0.6621 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001178/0.4532, allocations: 107.9 kB / 0.6622 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.014e-05/0.4533, allocations: 31.89 kB / 0.6623 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.041e-05/0.4533, allocations: 23.98 kB / 0.6623 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003227/0.4566, allocations: 2.392 MB / 0.6646 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.81e-07/0.4566, allocations: 0 / 0.6646 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002663/0.4592, allocations: 1.031 MB / 0.6656 GB, free: 5.09 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.004072/0.4633, allocations: 2.115 MB / 0.6677 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006885/0.4702, allocations: 4.09 MB / 0.6717 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4702, allocations: 3.938 kB / 0.6717 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001219/0.4715, allocations: 433 kB / 0.6721 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003426/0.4749, allocations: 0.9233 MB / 0.673 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06191/0.5368, allocations: 27.11 MB / 0.6995 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001524/0.5384, allocations: 1.648 MB / 0.7011 GB, free: 15.52 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002991/0.5414, allocations: 0.75 MB / 0.7018 GB, free: 14.77 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001672/0.5431, allocations: 0.9131 MB / 0.7027 GB, free: 13.85 MB / 0.545 GB Notification: Performance of SimCode: time 9.01e-07/0.5431, allocations: 0 / 0.7027 GB, free: 13.85 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3439/0.8871, allocations: 66.92 MB / 0.7681 GB, free: 157.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.823/9.71, allocations: 3.125 kB / 0.7681 GB, free: 157.2 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods_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_TotalEfficiencyMethods.fmu > IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods.pipe 2>&1)