Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.696/1.696, allocations: 289.7 MB / 302.3 MB, free: 2.16 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.001088/0.001088, allocations: 181.9 kB / 371.6 MB, free: 3.395 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.498/1.498, allocations: 205.1 MB / 0.6309 GB, free: 11.76 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.0009739/0.0009742, allocations: 89.97 kB / 0.745 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.238e-05/5.248e-05, allocations: 7.984 kB / 0.8663 GB, free: 14.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.298/0.2981, allocations: 116.3 MB / 0.9799 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8991/1.197, allocations: 140.6 MB / 1.117 GB, free: 43.57 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002581/1.198, allocations: 81.14 kB / 1.117 GB, free: 43.54 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01466/1.212, allocations: 5.325 MB / 1.122 GB, free: 40.45 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.333e-06/1.212, allocations: 4 kB / 1.122 GB, free: 40.45 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.833e-06/1.212, allocations: 0 / 1.122 GB, free: 40.45 MB / 0.7448 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.0003202/1.213, allocations: 363 kB / 1.123 GB, free: 40.06 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.906e-05/1.213, allocations: 12.03 kB / 1.123 GB, free: 40.05 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.316e-05/1.213, allocations: 30.56 kB / 1.123 GB, free: 40.01 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.606e-05/1.213, allocations: 2.031 kB / 1.123 GB, free: 40.01 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/1.213, allocations: 165.8 kB / 1.123 GB, free: 39.82 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/1.213, allocations: 6.938 kB / 1.123 GB, free: 39.81 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/1.213, allocations: 0 / 1.123 GB, free: 39.81 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/1.213, allocations: 42.64 kB / 1.123 GB, free: 39.77 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/1.213, allocations: 0 / 1.123 GB, free: 39.77 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/1.213, allocations: 0 / 1.123 GB, free: 39.77 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/1.213, allocations: 0 / 1.123 GB, free: 39.77 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.659e-05/1.213, allocations: 22.56 kB / 1.123 GB, free: 39.75 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002976/1.214, allocations: 253 kB / 1.123 GB, free: 39.47 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002172/1.214, allocations: 49.3 kB / 1.123 GB, free: 39.43 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.982e-05/1.214, allocations: 19.36 kB / 1.123 GB, free: 39.41 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.395e-05/1.214, allocations: 3.984 kB / 1.123 GB, free: 39.41 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.75e-05/1.214, allocations: 37.78 kB / 1.123 GB, free: 39.36 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/1.214, allocations: 0 / 1.123 GB, free: 39.36 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0001534/1.214, allocations: 50.36 kB / 1.123 GB, free: 39.32 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.009e-05/1.214, allocations: 58.11 kB / 1.124 GB, free: 39.25 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.25e-05/1.214, allocations: 96.94 kB / 1.124 GB, free: 39.15 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/1.214, allocations: 26.27 kB / 1.124 GB, free: 39.12 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.956e-05/1.214, allocations: 84.36 kB / 1.124 GB, free: 39.04 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.053e-05/1.214, allocations: 15.23 kB / 1.124 GB, free: 39.02 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.317e-06/1.214, allocations: 0 / 1.124 GB, free: 39.02 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.56e-05/1.214, allocations: 314.3 kB / 1.124 GB, free: 38.71 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.624e-05/1.214, allocations: 4 kB / 1.124 GB, free: 38.71 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.562e-05/1.214, allocations: 22.72 kB / 1.124 GB, free: 38.68 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.567e-05/1.214, allocations: 18.44 kB / 1.124 GB, free: 38.67 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/1.214, allocations: 0 / 1.124 GB, free: 38.67 MB / 0.7448 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.918e-05/1.214, allocations: 52.61 kB / 1.124 GB, free: 38.62 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/1.214, allocations: 4 kB / 1.124 GB, free: 38.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/1.214, allocations: 0 / 1.124 GB, free: 38.62 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/1.214, allocations: 4.656 kB / 1.124 GB, free: 38.61 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.65e-05/1.215, allocations: 7.938 kB / 1.124 GB, free: 38.61 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/1.215, allocations: 4 kB / 1.124 GB, free: 38.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.572e-05/1.215, allocations: 11.55 kB / 1.124 GB, free: 38.59 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-06/1.215, allocations: 8.844 kB / 1.124 GB, free: 38.59 MB / 0.7448 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 4.998e-05/1.215, allocations: 105 kB / 1.124 GB, free: 38.48 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.077e-05/1.215, allocations: 0 / 1.124 GB, free: 38.48 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001324/1.215, allocations: 59.48 kB / 1.124 GB, free: 38.43 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/1.215, allocations: 0 / 1.124 GB, free: 38.43 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/1.215, allocations: 1.594 kB / 1.124 GB, free: 38.43 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/1.215, allocations: 0 / 1.124 GB, free: 38.43 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001251/1.215, allocations: 167.2 kB / 1.124 GB, free: 38.22 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/1.215, allocations: 4 kB / 1.124 GB, free: 38.22 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.303e-05/1.215, allocations: 7.938 kB / 1.124 GB, free: 38.21 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/1.215, allocations: 0 / 1.124 GB, free: 38.21 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/1.215, allocations: 7.938 kB / 1.124 GB, free: 38.2 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/1.215, allocations: 0.875 kB / 1.124 GB, free: 38.2 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/1.215, allocations: 0 / 1.124 GB, free: 38.2 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001168/1.215, allocations: 153.4 kB / 1.125 GB, free: 38.05 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.524e-05/1.215, allocations: 77.48 kB / 1.125 GB, free: 37.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/1.215, allocations: 0 / 1.125 GB, free: 37.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.881e-05/1.215, allocations: 4 kB / 1.125 GB, free: 37.95 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.76e-05/1.215, allocations: 4 kB / 1.125 GB, free: 37.95 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.71e-06/1.215, allocations: 0.9375 kB / 1.125 GB, free: 37.95 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.879e-05/1.215, allocations: 90.58 kB / 1.125 GB, free: 37.87 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/1.215, allocations: 0 / 1.125 GB, free: 37.87 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002544/1.216, allocations: 20.66 kB / 1.125 GB, free: 37.85 MB / 0.7448 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.0005038/1.216, allocations: 0.7118 MB / 1.126 GB, free: 37.13 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001151/1.216, allocations: 23.75 kB / 1.126 GB, free: 37.11 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/1.216, allocations: 3.688 kB / 1.126 GB, free: 37.11 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.792e-05/1.216, allocations: 11.42 kB / 1.126 GB, free: 37.1 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001764/1.217, allocations: 5.203 kB / 1.126 GB, free: 37.1 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004033/1.217, allocations: 106.1 kB / 1.126 GB, free: 36.97 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002196/1.217, allocations: 0.6803 MB / 1.126 GB, free: 36.27 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.115e-05/1.217, allocations: 7.281 kB / 1.126 GB, free: 36.27 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.332e-05/1.217, allocations: 11.44 kB / 1.126 GB, free: 36.26 MB / 0.7448 GB Notification: Performance of SimCode: time 2.2e-07/1.217, allocations: 0 / 1.126 GB, free: 36.26 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01246/1.23, allocations: 1.174 MB / 1.127 GB, free: 35.62 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001571/1.23, allocations: 179.7 kB / 1.128 GB, free: 35.39 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.645/2.875, allocations: 0 / 1.128 GB, free: 35.39 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions.fmu > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)