Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.602/1.602, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001052/0.001052, allocations: 177.8 kB / 326.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.681/1.681, allocations: 205.4 MB / 0.5775 GB, free: 20.17 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008871/0.0008871, allocations: 90.31 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003167/0.0003167, allocations: 8.531 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1872/0.1876, allocations: 106.3 MB / 0.9001 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1626/0.3502, allocations: 133.4 MB / 1.03 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002306/0.3505, allocations: 79.95 kB / 1.03 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01674/0.3673, allocations: 5.319 MB / 1.036 GB, free: 4.84 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.063e-06/0.3673, allocations: 4 kB / 1.036 GB, free: 4.836 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.865e-06/0.3673, allocations: 0 / 1.036 GB, free: 4.836 MB / 0.6823 GB 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.0004349/0.3678, allocations: 363.2 kB / 1.036 GB, free: 4.434 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.3678, allocations: 8.031 kB / 1.036 GB, free: 4.426 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.533e-05/0.3679, allocations: 42.5 kB / 1.036 GB, free: 4.375 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.823e-05/0.3679, allocations: 7.953 kB / 1.036 GB, free: 4.367 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.3681, allocations: 163.1 kB / 1.036 GB, free: 4.168 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.3681, allocations: 4 kB / 1.036 GB, free: 4.164 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.438e-06/0.3681, allocations: 4 kB / 1.036 GB, free: 4.16 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.3682, allocations: 45.62 kB / 1.036 GB, free: 4.109 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.3682, allocations: 0 / 1.036 GB, free: 4.109 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.3683, allocations: 0 / 1.036 GB, free: 4.109 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.137e-06/0.3683, allocations: 0 / 1.036 GB, free: 4.109 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.148e-05/0.3683, allocations: 15.95 kB / 1.036 GB, free: 4.094 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000359/0.3687, allocations: 256.9 kB / 1.037 GB, free: 3.793 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002344/0.3689, allocations: 46.62 kB / 1.037 GB, free: 3.738 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.268e-05/0.369, allocations: 8.062 kB / 1.037 GB, free: 3.73 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.801e-05/0.369, allocations: 38.56 kB / 1.037 GB, free: 3.684 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 1.593e-06/0.369, allocations: 0 / 1.037 GB, free: 3.684 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4): time 0.0002422/0.3693, allocations: 61.48 kB / 1.037 GB, free: 3.617 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/0.3694, allocations: 51.41 kB / 1.037 GB, free: 3.555 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.206e-05/0.3695, allocations: 93 kB / 1.037 GB, free: 3.457 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.3695, allocations: 29.7 kB / 1.037 GB, free: 3.422 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.639e-05/0.3696, allocations: 84.14 kB / 1.037 GB, free: 3.336 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.154e-05/0.3696, allocations: 15.8 kB / 1.037 GB, free: 3.32 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-06/0.3696, allocations: 0 / 1.037 GB, free: 3.32 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.3697, allocations: 314.8 kB / 1.037 GB, free: 3.004 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.339e-05/0.3698, allocations: 12 kB / 1.037 GB, free: 2.992 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.347e-05/0.3698, allocations: 21.7 kB / 1.037 GB, free: 2.965 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.12e-05/0.3698, allocations: 12 kB / 1.037 GB, free: 2.953 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3699, allocations: 0 / 1.037 GB, free: 2.953 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001046/0.37, allocations: 61.62 kB / 1.037 GB, free: 2.887 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.37, allocations: 4 kB / 1.037 GB, free: 2.883 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/0.37, allocations: 3.984 kB / 1.037 GB, free: 2.879 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.37, allocations: 0 / 1.037 GB, free: 2.879 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.359e-05/0.3701, allocations: 8 kB / 1.037 GB, free: 2.871 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.844e-06/0.3701, allocations: 3.953 kB / 1.037 GB, free: 2.867 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.901e-05/0.3701, allocations: 7.906 kB / 1.037 GB, free: 2.859 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/0.3702, allocations: 0 / 1.037 GB, free: 2.859 MB / 0.6823 GB 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 9.083e-05/0.3703, allocations: 129.7 kB / 1.038 GB, free: 2.723 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.427e-05/0.3703, allocations: 432 / 1.038 GB, free: 2.723 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001576/0.3704, allocations: 61.17 kB / 1.038 GB, free: 2.652 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.3705, allocations: 0 / 1.038 GB, free: 2.652 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.3705, allocations: 0 / 1.038 GB, free: 2.652 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.3705, allocations: 3.953 kB / 1.038 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001749/0.3707, allocations: 157.6 kB / 1.038 GB, free: 2.445 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.3707, allocations: 4 kB / 1.038 GB, free: 2.441 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.864e-05/0.3707, allocations: 11.98 kB / 1.038 GB, free: 2.43 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.3707, allocations: 0 / 1.038 GB, free: 2.43 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.505e-06/0.3707, allocations: 0 / 1.038 GB, free: 2.43 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.3707, allocations: 128 / 1.038 GB, free: 2.43 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.714e-06/0.3708, allocations: 8 kB / 1.038 GB, free: 2.422 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001315/0.3709, allocations: 147.4 kB / 1.038 GB, free: 2.262 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.326e-05/0.3709, allocations: 85.02 kB / 1.038 GB, free: 2.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.371, allocations: 0 / 1.038 GB, free: 2.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.105e-05/0.371, allocations: 4 kB / 1.038 GB, free: 2.156 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.619e-05/0.371, allocations: 0 / 1.038 GB, free: 2.156 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.3711, allocations: 7.984 kB / 1.038 GB, free: 2.148 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.804e-05/0.3711, allocations: 79.28 kB / 1.038 GB, free: 2.07 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3711, allocations: 0 / 1.038 GB, free: 2.07 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002697/0.3714, allocations: 24 kB / 1.038 GB, free: 2.047 MB / 0.6823 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 (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.0005435/0.3719, allocations: 0.7162 MB / 1.039 GB, free: 1.305 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001089/0.3721, allocations: 20 kB / 1.039 GB, free: 1.285 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3721, allocations: 0 / 1.039 GB, free: 1.285 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.353e-05/0.3721, allocations: 15.92 kB / 1.039 GB, free: 1.27 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001331/0.3722, allocations: 0 / 1.039 GB, free: 1.27 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004575/0.3727, allocations: 178.1 kB / 1.039 GB, free: 1.051 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/0.373, allocations: 0.681 MB / 1.04 GB, free: 352 kB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.858e-05/0.373, allocations: 4 kB / 1.04 GB, free: 348 kB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.999e-05/0.3731, allocations: 7.438 kB / 1.04 GB, free: 340 kB / 0.6823 GB Notification: Performance of SimCode: time 2.31e-07/0.3731, allocations: 0 / 1.04 GB, free: 340 kB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01245/0.3855, allocations: 1.176 MB / 1.041 GB, free: 15.33 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001902/0.3858, allocations: 216.5 kB / 1.041 GB, free: 15.09 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.533/1.919, allocations: 4 kB / 1.041 GB, free: 15.08 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)