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.001653/0.001653, allocations: 96.11 kB / 15.69 MB, free: 480 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.002099/0.002099, allocations: 178.5 kB / 16.57 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.829/2.829, allocations: 223.2 MB / 240.5 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.32/1.32, allocations: 113.7 MB / 405.3 MB, free: 4.676 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006635/0.0006637, allocations: 16 kB / 493 MB, free: 8.609 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2988/0.2995, allocations: 77.11 MB / 0.5567 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.002336/0.3019, allocations: 0.9883 MB / 0.5577 GB, free: 10.71 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00153/0.3035, allocations: 0.5183 MB / 0.5582 GB, free: 10.19 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.373e-05/0.3036, allocations: 0 / 0.5582 GB, free: 10.19 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.836e-05/0.3036, allocations: 0 / 0.5582 GB, free: 10.19 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.77e-05/0.3037, allocations: 11.94 kB / 0.5582 GB, free: 10.18 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008413/0.3045, allocations: 115.6 kB / 0.5583 GB, free: 10.06 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.148e-05/0.3046, allocations: 15.97 kB / 0.5583 GB, free: 10.05 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.784e-05/0.3047, allocations: 3.984 kB / 0.5583 GB, free: 10.04 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.578e-05/0.3048, allocations: 11.94 kB / 0.5583 GB, free: 10.03 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.642e-05/0.3049, allocations: 4 kB / 0.5584 GB, free: 10.03 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.3049, allocations: 0 / 0.5584 GB, free: 10.03 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009563/0.3059, allocations: 367.3 kB / 0.5587 GB, free: 9.668 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.504e-05/0.3059, allocations: 11.94 kB / 0.5587 GB, free: 9.656 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.617e-05/0.306, allocations: 25.7 kB / 0.5587 GB, free: 9.625 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003733/0.3064, allocations: 96.09 kB / 0.5588 GB, free: 9.531 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3064, allocations: 4 kB / 0.5588 GB, free: 9.527 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.196e-06/0.3064, allocations: 0 / 0.5588 GB, free: 9.527 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.3064, allocations: 0 / 0.5588 GB, free: 9.527 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000641/0.3071, allocations: 351.3 kB / 0.5592 GB, free: 9.137 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.593e-05/0.3072, allocations: 8.031 kB / 0.5592 GB, free: 9.129 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.602e-05/0.3072, allocations: 38.5 kB / 0.5592 GB, free: 9.082 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.586e-05/0.3073, allocations: 7.906 kB / 0.5592 GB, free: 9.074 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001726/0.3075, allocations: 163.1 kB / 0.5594 GB, free: 8.875 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.3075, allocations: 7.984 kB / 0.5594 GB, free: 8.867 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.577e-05/0.3076, allocations: 7.953 kB / 0.5594 GB, free: 8.859 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.3077, allocations: 45.69 kB / 0.5594 GB, free: 8.809 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.3078, allocations: 0 / 0.5594 GB, free: 8.809 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.3078, allocations: 0 / 0.5594 GB, free: 8.809 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.3078, allocations: 0 / 0.5594 GB, free: 8.809 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.818e-05/0.3079, allocations: 15.94 kB / 0.5594 GB, free: 8.793 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004869/0.3084, allocations: 256.9 kB / 0.5597 GB, free: 8.492 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003319/0.3088, allocations: 46.62 kB / 0.5597 GB, free: 8.438 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.271e-05/0.3088, allocations: 96 / 0.5597 GB, free: 8.438 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.919e-05/0.3089, allocations: 38.55 kB / 0.5598 GB, free: 8.391 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 2.235e-06/0.3089, allocations: 0 / 0.5598 GB, free: 8.391 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002984/0.3092, allocations: 57.62 kB / 0.5598 GB, free: 8.328 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.606e-05/0.3093, allocations: 55.41 kB / 0.5599 GB, free: 8.262 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.3094, allocations: 93.86 kB / 0.56 GB, free: 8.16 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.667e-05/0.3095, allocations: 25.7 kB / 0.56 GB, free: 8.129 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.617e-05/0.3096, allocations: 92.05 kB / 0.5601 GB, free: 8.035 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.424e-05/0.3096, allocations: 11.83 kB / 0.5601 GB, free: 8.023 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-06/0.3096, allocations: 0 / 0.5601 GB, free: 8.023 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002427/0.3099, allocations: 314.8 kB / 0.5604 GB, free: 7.707 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.716e-05/0.3099, allocations: 4 kB / 0.5604 GB, free: 7.703 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.019e-05/0.31, allocations: 29.7 kB / 0.5604 GB, free: 7.668 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.921e-05/0.3101, allocations: 8 kB / 0.5604 GB, free: 7.66 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3101, allocations: 0 / 0.5604 GB, free: 7.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001839/0.3103, allocations: 65.48 kB / 0.5605 GB, free: 7.59 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.819e-05/0.3103, allocations: 6.031 kB / 0.5605 GB, free: 7.586 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.3103, allocations: 0 / 0.5605 GB, free: 7.586 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.3104, allocations: 0 / 0.5605 GB, free: 7.586 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.695e-05/0.3105, allocations: 8 kB / 0.5605 GB, free: 7.578 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.3105, allocations: 4.031 kB / 0.5605 GB, free: 7.574 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.27e-05/0.3106, allocations: 4 kB / 0.5605 GB, free: 7.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.3106, allocations: 7.938 kB / 0.5605 GB, free: 7.562 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001379/0.3108, allocations: 117.8 kB / 0.5606 GB, free: 7.438 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.693e-05/0.3108, allocations: 3.953 kB / 0.5606 GB, free: 7.434 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002456/0.3111, allocations: 61.59 kB / 0.5607 GB, free: 7.359 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.3111, allocations: 0 / 0.5607 GB, free: 7.359 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.3111, allocations: 0 / 0.5607 GB, free: 7.359 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.3112, allocations: 4 kB / 0.5607 GB, free: 7.355 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002965/0.3115, allocations: 161.6 kB / 0.5609 GB, free: 7.148 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.3115, allocations: 4.047 kB / 0.5609 GB, free: 7.145 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.628e-05/0.3116, allocations: 11.97 kB / 0.5609 GB, free: 7.133 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.308e-06/0.3116, allocations: 3.953 kB / 0.5609 GB, free: 7.129 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.3116, allocations: 3.938 kB / 0.5609 GB, free: 7.125 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.454e-06/0.3116, allocations: 0 / 0.5609 GB, free: 7.125 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.3116, allocations: 7.938 kB / 0.5609 GB, free: 7.117 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001943/0.3119, allocations: 143.5 kB / 0.561 GB, free: 6.961 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.809e-05/0.3119, allocations: 89.05 kB / 0.5611 GB, free: 6.855 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.321e-05/0.312, allocations: 3.953 kB / 0.5611 GB, free: 6.852 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.3121, allocations: 128 / 0.5611 GB, free: 6.852 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.176e-05/0.3121, allocations: 7.984 kB / 0.5611 GB, free: 6.844 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.683e-06/0.3122, allocations: 4 kB / 0.5611 GB, free: 6.84 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.072e-05/0.3122, allocations: 75.28 kB / 0.5612 GB, free: 6.766 MB / 430.1 MB Notification: Performance of sort global known variables: time 4.2e-07/0.3123, allocations: 0 / 0.5612 GB, free: 6.766 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005172/0.3128, allocations: 24 kB / 0.5612 GB, free: 6.742 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009521/0.3138, allocations: 0.6936 MB / 0.5619 GB, free: 6.02 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001773/0.314, allocations: 23.98 kB / 0.5619 GB, free: 5.996 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.314, allocations: 0 / 0.5619 GB, free: 5.996 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.145e-05/0.3141, allocations: 19.92 kB / 0.5619 GB, free: 5.977 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002635/0.3143, allocations: 3.953 kB / 0.5619 GB, free: 5.973 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008097/0.3152, allocations: 166.3 kB / 0.5621 GB, free: 5.766 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004106/0.3156, allocations: 0.6848 MB / 0.5628 GB, free: 5.055 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.935e-05/0.3157, allocations: 3.906 kB / 0.5628 GB, free: 5.051 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.776e-05/0.3158, allocations: 15.44 kB / 0.5628 GB, free: 5.035 MB / 430.1 MB Notification: Performance of SimCode: time 3.647e-06/0.3158, allocations: 4 kB / 0.5628 GB, free: 5.031 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1175/0.4333, allocations: 1.17 MB / 0.5639 GB, free: 4.043 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000393/0.4338, allocations: 203.3 kB / 0.5641 GB, free: 3.801 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.943/3.377, allocations: 0 / 0.5641 GB, free: 3.801 MB / 430.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/linux/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) Environment - environmentSimulation: