Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",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.001079/0.001079, allocations: 104.2 kB / 15.98 MB, free: 6.352 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.001011/0.001012, allocations: 189.4 kB / 16.9 MB, free: 6.195 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.3/1.3, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6878/0.6878, allocations: 115.3 MB / 406.1 MB, free: 6.402 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 63.91 kB / 493.2 MB, free: 0.6094 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.3005, allocations: 76.18 MB / 0.556 GB, free: 35.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001975/0.3025, allocations: 1.339 MB / 0.5573 GB, free: 34.76 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007596/0.3033, allocations: 0.5838 MB / 0.5579 GB, free: 34.36 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.05e-05/0.3033, allocations: 0.6562 kB / 0.5579 GB, free: 34.36 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.658e-05/0.3033, allocations: 7.844 kB / 0.5579 GB, free: 34.36 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.226e-05/0.3034, allocations: 14.05 kB / 0.5579 GB, free: 34.34 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004393/0.3038, allocations: 124.7 kB / 0.558 GB, free: 34.29 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.311e-05/0.3039, allocations: 17.78 kB / 0.5581 GB, free: 34.29 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.764e-05/0.3039, allocations: 3.469 kB / 0.5581 GB, free: 34.29 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.918e-05/0.304, allocations: 9.234 kB / 0.5581 GB, free: 34.28 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.289e-05/0.304, allocations: 11.72 kB / 0.5581 GB, free: 34.28 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.517e-06/0.304, allocations: 0 / 0.5581 GB, free: 34.28 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004029/0.3044, allocations: 344.3 kB / 0.5584 GB, free: 34.18 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.06e-05/0.3045, allocations: 9.391 kB / 0.5584 GB, free: 34.17 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.124e-05/0.3045, allocations: 11.34 kB / 0.5584 GB, free: 34.17 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002081/0.3047, allocations: 142.9 kB / 0.5586 GB, free: 34.12 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.3047, allocations: 0 / 0.5586 GB, free: 34.12 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3047, allocations: 0.5 kB / 0.5586 GB, free: 34.12 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.122e-05/0.3047, allocations: 2 kB / 0.5586 GB, free: 34.12 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003014/0.305, allocations: 354.8 kB / 0.5589 GB, free: 33.75 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.3051, allocations: 9.312 kB / 0.5589 GB, free: 33.75 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.685e-05/0.3051, allocations: 32.88 kB / 0.5589 GB, free: 33.71 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.287e-05/0.3051, allocations: 5.906 kB / 0.559 GB, free: 33.71 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.542e-05/0.3052, allocations: 169.5 kB / 0.5591 GB, free: 33.51 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-06/0.3052, allocations: 7.125 kB / 0.5591 GB, free: 33.5 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.456e-06/0.3052, allocations: 6.656 kB / 0.5591 GB, free: 33.5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.464e-05/0.3053, allocations: 37.86 kB / 0.5592 GB, free: 33.46 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.3053, allocations: 5.656 kB / 0.5592 GB, free: 33.46 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.814e-06/0.3053, allocations: 1.438 kB / 0.5592 GB, free: 33.46 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.3054, allocations: 0 / 0.5592 GB, free: 33.46 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.314e-05/0.3054, allocations: 16.69 kB / 0.5592 GB, free: 33.46 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002262/0.3056, allocations: 255 kB / 0.5594 GB, free: 33.18 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001733/0.3058, allocations: 55.47 kB / 0.5595 GB, free: 33.14 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.874e-05/0.3059, allocations: 20.5 kB / 0.5595 GB, free: 33.13 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.3059, allocations: 1.312 kB / 0.5595 GB, free: 33.13 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.197e-05/0.3059, allocations: 35.31 kB / 0.5595 GB, free: 33.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.3059, allocations: 2.188 kB / 0.5595 GB, free: 33.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001474/0.3061, allocations: 56.41 kB / 0.5596 GB, free: 33.05 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.811e-05/0.3061, allocations: 54.12 kB / 0.5596 GB, free: 32.98 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.215e-05/0.3061, allocations: 101.1 kB / 0.5597 GB, free: 32.88 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.843e-06/0.3061, allocations: 33.64 kB / 0.5598 GB, free: 32.84 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.633e-05/0.3062, allocations: 90.66 kB / 0.5599 GB, free: 32.75 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.436e-06/0.3062, allocations: 6.562 kB / 0.5599 GB, free: 32.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.811e-05/0.3062, allocations: 23.03 kB / 0.5599 GB, free: 32.73 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.528e-05/0.3063, allocations: 313 kB / 0.5602 GB, free: 32.41 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.904e-05/0.3063, allocations: 12.78 kB / 0.5602 GB, free: 32.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.779e-05/0.3063, allocations: 25.22 kB / 0.5602 GB, free: 32.39 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.116e-05/0.3064, allocations: 25.66 kB / 0.5602 GB, free: 32.37 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.3064, allocations: 3.938 kB / 0.5603 GB, free: 32.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.54e-05/0.3064, allocations: 65.59 kB / 0.5603 GB, free: 32.32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.3065, allocations: 5.219 kB / 0.5603 GB, free: 32.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.3065, allocations: 1.156 kB / 0.5603 GB, free: 32.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.3065, allocations: 1.219 kB / 0.5603 GB, free: 32.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.462e-05/0.3065, allocations: 7.938 kB / 0.5603 GB, free: 32.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.3065, allocations: 1.188 kB / 0.5603 GB, free: 32.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.367e-05/0.3066, allocations: 5.156 kB / 0.5603 GB, free: 32.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/0.3066, allocations: 3.969 kB / 0.5603 GB, free: 32.32 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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 prepare postOptimizeDAE: time 4.126e-05/0.3066, allocations: 121.3 kB / 0.5605 GB, free: 32.19 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.233e-05/0.3067, allocations: 1.875 kB / 0.5605 GB, free: 32.19 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001124/0.3068, allocations: 57.53 kB / 0.5605 GB, free: 32.15 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.3068, allocations: 2.062 kB / 0.5605 GB, free: 32.15 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.3068, allocations: 0.5625 kB / 0.5605 GB, free: 32.15 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.3068, allocations: 1.031 kB / 0.5605 GB, free: 32.15 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001053/0.3069, allocations: 163.3 kB / 0.5607 GB, free: 31.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3069, allocations: 1.906 kB / 0.5607 GB, free: 31.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.492e-05/0.307, allocations: 7.594 kB / 0.5607 GB, free: 31.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.307, allocations: 0 / 0.5607 GB, free: 31.95 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.307, allocations: 2.938 kB / 0.5607 GB, free: 31.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.307, allocations: 0 / 0.5607 GB, free: 31.95 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.307, allocations: 0 / 0.5607 GB, free: 31.95 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.215e-05/0.3071, allocations: 153.6 kB / 0.5608 GB, free: 31.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.499e-05/0.3071, allocations: 78.7 kB / 0.5609 GB, free: 31.71 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.3071, allocations: 4.172 kB / 0.5609 GB, free: 31.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.938e-05/0.3072, allocations: 2.531 kB / 0.5609 GB, free: 31.71 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.548e-05/0.3072, allocations: 9.25 kB / 0.5609 GB, free: 31.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.616e-06/0.3072, allocations: 5.719 kB / 0.5609 GB, free: 31.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.814e-05/0.3072, allocations: 80.84 kB / 0.561 GB, free: 31.62 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3072, allocations: 0 / 0.561 GB, free: 31.62 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002342/0.3075, allocations: 17.78 kB / 0.561 GB, free: 31.62 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 (4): * Single equations (assignments): 4 * 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.000276/0.3078, allocations: 0.7073 MB / 0.5617 GB, free: 30.94 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.469e-05/0.3078, allocations: 24.22 kB / 0.5617 GB, free: 30.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3079, allocations: 1.656 kB / 0.5617 GB, free: 30.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.915e-05/0.3079, allocations: 13.47 kB / 0.5617 GB, free: 30.93 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002009/0.3081, allocations: 5.469 kB / 0.5618 GB, free: 30.93 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003565/0.3084, allocations: 167.7 kB / 0.5619 GB, free: 30.76 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.596e-05/0.3085, allocations: 0.681 MB / 0.5626 GB, free: 30.06 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.105e-05/0.3086, allocations: 3.406 kB / 0.5626 GB, free: 30.06 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.294e-05/0.3086, allocations: 15.72 kB / 0.5626 GB, free: 30.05 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3086, allocations: 0 / 0.5626 GB, free: 30.05 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01051/0.3191, allocations: 1.283 MB / 0.5638 GB, free: 29.88 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001324/0.3193, allocations: 233.9 kB / 0.5641 GB, free: 29.61 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.639/1.958, allocations: 4 kB / 0.5641 GB, free: 29.61 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)