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.00108/0.00108, allocations: 99.78 kB / 16.4 MB, free: 6.461 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.001212/0.001212, allocations: 196 kB / 17.34 MB, free: 5.719 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.277/1.277, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6832/0.6832, allocations: 115.3 MB / 406.5 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 65.86 kB / 0.5572 GB, free: 32.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.1733, allocations: 76.18 MB / 0.6316 GB, free: 4.898 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods): time 0.0056/0.1789, allocations: 4.886 MB / 0.6364 GB, free: 15.98 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.009159/0.1881, allocations: 5.637 MB / 0.6419 GB, free: 10.33 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001169/0.1893, allocations: 27.88 kB / 0.6419 GB, free: 10.3 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003607/0.193, allocations: 1.287 MB / 0.6432 GB, free: 9.016 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003328/0.1963, allocations: 1.304 MB / 0.6444 GB, free: 7.707 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00363/0.2, allocations: 1.547 MB / 0.6459 GB, free: 6.16 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.02579/0.2258, allocations: 17.05 MB / 0.6626 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005128/0.2263, allocations: 184.3 kB / 0.6628 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001765/0.2281, allocations: 0.8292 MB / 0.6636 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001458/0.2296, allocations: 0.8013 MB / 0.6644 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004766/0.23, allocations: 96 kB / 0.6645 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002087/0.2321, allocations: 0.9242 MB / 0.6654 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001072/0.2332, allocations: 0.9466 MB / 0.6663 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001792/0.235, allocations: 1.095 MB / 0.6674 GB, free: 188 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003954/0.239, allocations: 3.239 MB / 0.6705 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.239, allocations: 0 / 0.6705 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.623e-06/0.239, allocations: 0 / 0.6705 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.434e-05/0.2391, allocations: 0 / 0.6705 GB, free: 12.93 MB / 0.5137 GB 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.004709/0.2438, allocations: 2.778 MB / 0.6732 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.2439, allocations: 12.03 kB / 0.6732 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.443e-05/0.2439, allocations: 66.53 kB / 0.6733 GB, free: 10 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004981/0.2489, allocations: 0.9413 MB / 0.6742 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006376/0.2553, allocations: 4.618 MB / 0.6787 GB, free: 4.375 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.6e-05/0.2554, allocations: 36.59 kB / 0.6788 GB, free: 4.34 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/0.2555, allocations: 52 kB / 0.6788 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002162/0.2577, allocations: 0.9309 MB / 0.6797 GB, free: 3.352 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.2577, allocations: 7.938 kB / 0.6797 GB, free: 3.344 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.393e-05/0.2578, allocations: 12 kB / 0.6797 GB, free: 3.332 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.2578, allocations: 8 kB / 0.6798 GB, free: 3.324 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003034/0.2608, allocations: 1.033 MB / 0.6808 GB, free: 2.289 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006527/0.2674, allocations: 3.219 MB / 0.6839 GB, free: 15 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003116/0.2705, allocations: 1.11 MB / 0.685 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001266/0.2718, allocations: 448.5 kB / 0.6854 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.326e-05/0.2719, allocations: 8 kB / 0.6854 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.2719, allocations: 34.56 kB / 0.6855 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=35): time 4.028e-06/0.2719, allocations: 0 / 0.6855 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of matching and sorting (n=35): time 0.004897/0.2768, allocations: 1.569 MB / 0.687 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.2769, allocations: 55.41 kB / 0.687 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005527/0.2824, allocations: 3.729 MB / 0.6907 GB, free: 8 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002286/0.2827, allocations: 45.69 kB / 0.6907 GB, free: 7.949 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000722/0.2834, allocations: 0.8262 MB / 0.6915 GB, free: 7.117 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001544/0.2836, allocations: 146.2 kB / 0.6917 GB, free: 6.973 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007546/0.2843, allocations: 0.5638 MB / 0.6922 GB, free: 6.402 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.516e-05/0.2844, allocations: 305.1 kB / 0.6925 GB, free: 6.102 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002551/0.287, allocations: 1.498 MB / 0.694 GB, free: 4.602 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002891/0.2899, allocations: 1.954 MB / 0.6959 GB, free: 2.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004793/0.2947, allocations: 3.093 MB / 0.6989 GB, free: 15.29 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/0.2947, allocations: 4 kB / 0.6989 GB, free: 15.29 MB / 0.545 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.006418/0.3011, allocations: 3.782 MB / 0.7026 GB, free: 11.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.75e-05/0.3012, allocations: 8 kB / 0.7026 GB, free: 11.49 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.423e-05/0.3012, allocations: 12 kB / 0.7026 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.091e-05/0.3013, allocations: 16 kB / 0.7026 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001697/0.303, allocations: 451.5 kB / 0.7031 GB, free: 11.02 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.757e-05/0.303, allocations: 24 kB / 0.7031 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002476/0.3055, allocations: 353.3 kB / 0.7034 GB, free: 10.65 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001689/0.3057, allocations: 91.97 kB / 0.7035 GB, free: 10.56 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003128/0.3088, allocations: 1.91 MB / 0.7054 GB, free: 8.645 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00261/0.3114, allocations: 1.813 MB / 0.7072 GB, free: 6.691 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004426/0.3159, allocations: 2.791 MB / 0.7099 GB, free: 3.777 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.155e-06/0.3159, allocations: 0 / 0.7099 GB, free: 3.777 MB / 0.545 GB Notification: Performance of matching and sorting (n=341) (initialization_lambda0): time 0.006095/0.322, allocations: 3.487 MB / 0.7133 GB, free: 288 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.322, allocations: 8 kB / 0.7133 GB, free: 280 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/0.3221, allocations: 8.188 kB / 0.7133 GB, free: 272 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.3221, allocations: 20 kB / 0.7133 GB, free: 252 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001636/0.3237, allocations: 443.4 kB / 0.7137 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.353e-05/0.3238, allocations: 23.92 kB / 0.7138 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002486/0.3263, allocations: 299.1 kB / 0.7141 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001484/0.3264, allocations: 91.95 kB / 0.7141 GB, free: 15.41 MB / 0.5606 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 (209): * Single equations (assignments): 201 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 4 * 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.0003892/0.3268, allocations: 259.8 kB / 0.7144 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004413/0.3273, allocations: 220.9 kB / 0.7146 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003257/0.3305, allocations: 1.163 MB / 0.7157 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/0.3305, allocations: 7.984 kB / 0.7157 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.3306, allocations: 3.938 kB / 0.7157 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/0.3306, allocations: 3.984 kB / 0.7157 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001888/0.3325, allocations: 1.394 MB / 0.7171 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.3325, allocations: 4 kB / 0.7171 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009219/0.3334, allocations: 175.8 kB / 0.7173 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.3334, allocations: 0 / 0.7173 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.554e-05/0.3335, allocations: 11.98 kB / 0.7173 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.3335, allocations: 7.938 kB / 0.7173 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3335, allocations: 0 / 0.7173 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003118/0.3366, allocations: 1.252 MB / 0.7185 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008285/0.3375, allocations: 473.6 kB / 0.719 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002669/0.3377, allocations: 11.98 kB / 0.719 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001297/0.339, allocations: 143.8 kB / 0.7191 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.223e-05/0.3391, allocations: 23.97 kB / 0.7191 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.303e-05/0.3392, allocations: 15.98 kB / 0.7192 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00344/0.3426, allocations: 2.532 MB / 0.7216 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3426, allocations: 0 / 0.7216 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00262/0.3453, allocations: 0.9334 MB / 0.7225 GB, free: 6.684 MB / 0.5606 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 (39): * Single equations (assignments): 39 * 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.004034/0.3493, allocations: 2.107 MB / 0.7246 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007537/0.3569, allocations: 4.111 MB / 0.7286 GB, free: 448 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.3569, allocations: 0 / 0.7286 GB, free: 448 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001302/0.3582, allocations: 485 kB / 0.7291 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003644/0.3619, allocations: 0.9401 MB / 0.73 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3701/0.732, allocations: 25.84 MB / 0.7552 GB, free: 100.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001593/0.7336, allocations: 1.651 MB / 0.7568 GB, free: 99.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002588/0.7362, allocations: 0.7612 MB / 0.7576 GB, free: 99.58 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001281/0.7375, allocations: 0.9058 MB / 0.7585 GB, free: 98.91 MB / 0.5762 GB Notification: Performance of SimCode: time 9.82e-07/0.7375, allocations: 0 / 0.7585 GB, free: 98.91 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08845/0.826, allocations: 66.82 MB / 0.8237 GB, free: 41.65 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.93/13.75, allocations: 15.59 kB / 0.8237 GB, free: 41.64 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Movers_BaseClasses_Validation_TotalEfficiencyMethods_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Movers_BaseClasses_Validation_TotalEfficiencyMethods.fmu > IBPSA_latest_IBPSA.Fluid.Movers.BaseClasses.Validation.TotalEfficiencyMethods.pipe 2>&1)