Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.662/1.662, allocations: 285.6 MB / 293.1 MB, free: 10.22 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009975/0.0009974, allocations: 184.4 kB / 361.4 MB, free: 6.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.405/1.405, allocations: 205.3 MB / 0.62 GB, free: 11.66 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008772/0.0008771, allocations: 98.12 kB / 0.733 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.309e-05/3.346e-05, allocations: 4 kB / 0.8518 GB, free: 2.691 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6461/0.6462, allocations: 115.3 MB / 0.9644 GB, free: 78.96 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1847/0.831, allocations: 138.9 MB / 1.1 GB, free: 0.832 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003358/0.8314, allocations: 80.78 kB / 1.1 GB, free: 0.7539 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01588/0.8473, allocations: 5.289 MB / 1.105 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.843e-06/0.8473, allocations: 4 kB / 1.105 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.634e-06/0.8473, allocations: 0 / 1.105 GB, free: 11.54 MB / 0.7136 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.0003935/0.8477, allocations: 367.9 kB / 1.106 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.8478, allocations: 12.03 kB / 1.106 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.26e-05/0.8478, allocations: 0 / 1.106 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.848, allocations: 166.9 kB / 1.106 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.848, allocations: 4 kB / 1.106 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.848, allocations: 0.6562 kB / 1.106 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.824e-05/0.8481, allocations: 12 kB / 1.106 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.33e-05/0.8482, allocations: 45.69 kB / 1.106 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.8483, allocations: 0 / 1.106 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.8483, allocations: 0 / 1.106 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.8483, allocations: 0 / 1.106 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000376/0.8487, allocations: 238.2 kB / 1.106 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002131/0.8489, allocations: 42.03 kB / 1.106 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.886e-05/0.849, allocations: 24.86 kB / 1.106 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.382e-05/0.849, allocations: 4 kB / 1.106 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.47e-05/0.849, allocations: 30.56 kB / 1.106 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.503e-06/0.849, allocations: 0 / 1.106 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001827/0.8492, allocations: 49.72 kB / 1.106 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.634e-05/0.8493, allocations: 51.41 kB / 1.106 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.723e-05/0.8494, allocations: 96.94 kB / 1.106 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.8494, allocations: 25.7 kB / 1.106 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.609e-05/0.8494, allocations: 92.03 kB / 1.107 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.067e-06/0.8495, allocations: 7.906 kB / 1.107 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-06/0.8495, allocations: 0 / 1.107 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.92e-05/0.8496, allocations: 318.8 kB / 1.107 GB, free: 9.801 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.641e-05/0.8496, allocations: 4 kB / 1.107 GB, free: 9.797 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.946e-05/0.8496, allocations: 17.72 kB / 1.107 GB, free: 9.773 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.784e-05/0.8497, allocations: 7.984 kB / 1.107 GB, free: 9.766 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.8497, allocations: 8 kB / 1.107 GB, free: 9.758 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.312e-05/0.8498, allocations: 57.53 kB / 1.107 GB, free: 9.695 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.8498, allocations: 4 kB / 1.107 GB, free: 9.691 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.8498, allocations: 3.734 kB / 1.107 GB, free: 9.691 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.8498, allocations: 0 / 1.107 GB, free: 9.691 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.768e-05/0.8499, allocations: 8 kB / 1.107 GB, free: 9.684 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.8499, allocations: 0 / 1.107 GB, free: 9.684 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.784e-05/0.8499, allocations: 4 kB / 1.107 GB, free: 9.68 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.8499, allocations: 4 kB / 1.107 GB, free: 9.676 MB / 0.7136 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 () * 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 6.616e-05/0.85, allocations: 109 kB / 1.107 GB, free: 9.562 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.711e-05/0.8501, allocations: 49.62 kB / 1.107 GB, free: 9.508 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.483e-05/0.8501, allocations: 4 kB / 1.107 GB, free: 9.504 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001314/0.8503, allocations: 61.7 kB / 1.107 GB, free: 9.434 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.8503, allocations: 0 / 1.107 GB, free: 9.434 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.8503, allocations: 0 / 1.107 GB, free: 9.434 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.8503, allocations: 3.953 kB / 1.107 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001274/0.8504, allocations: 139.6 kB / 1.107 GB, free: 9.258 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.8505, allocations: 0 / 1.107 GB, free: 9.258 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.49e-05/0.8505, allocations: 12 kB / 1.107 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.8505, allocations: 3.562 kB / 1.107 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.8505, allocations: 0 / 1.107 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.8505, allocations: 3.938 kB / 1.107 GB, free: 9.242 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.8505, allocations: 0 / 1.107 GB, free: 9.242 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001047/0.8506, allocations: 151.4 kB / 1.108 GB, free: 9.078 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.453e-05/0.8507, allocations: 81.09 kB / 1.108 GB, free: 8.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.8507, allocations: 0 / 1.108 GB, free: 8.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.791e-05/0.8508, allocations: 8 kB / 1.108 GB, free: 8.973 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.346e-05/0.8508, allocations: 4 kB / 1.108 GB, free: 8.969 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-06/0.8508, allocations: 0 / 1.108 GB, free: 8.969 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.917e-05/0.8508, allocations: 79.28 kB / 1.108 GB, free: 8.891 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.41e-07/0.8508, allocations: 0 / 1.108 GB, free: 8.891 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002755/0.8511, allocations: 29.67 kB / 1.108 GB, free: 8.863 MB / 0.7136 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 () * 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.0004857/0.8516, allocations: 0.7123 MB / 1.108 GB, free: 8.125 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.245e-05/0.8517, allocations: 16 kB / 1.108 GB, free: 8.109 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.8517, allocations: 0 / 1.108 GB, free: 8.109 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.8e-05/0.8517, allocations: 8 kB / 1.108 GB, free: 8.102 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001392/0.8519, allocations: 3.984 kB / 1.108 GB, free: 8.098 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003387/0.8522, allocations: 103.9 kB / 1.109 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002149/0.8525, allocations: 0.6822 MB / 1.109 GB, free: 7.254 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.634e-05/0.8525, allocations: 6.172 kB / 1.109 GB, free: 7.25 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.929e-05/0.8525, allocations: 17.41 kB / 1.109 GB, free: 7.234 MB / 0.7136 GB Notification: Performance of SimCode: time 2.6e-07/0.8525, allocations: 0 / 1.109 GB, free: 7.234 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01727/0.8698, allocations: 0.8804 MB / 1.11 GB, free: 6.391 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001807/0.8701, allocations: 175.4 kB / 1.11 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.382/2.252, allocations: 0.7812 kB / 1.11 GB, free: 6.199 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)