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.568/1.568, allocations: 288.2 MB / 303.2 MB, free: 8.211 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.001042/0.001042, allocations: 185.8 kB / 371.8 MB, free: 10.34 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.499/1.499, allocations: 205.4 MB / 0.6305 GB, free: 10.07 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009333/0.0009333, allocations: 95.5 kB / 0.7439 GB, free: 6.012 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003938/0.0003938, allocations: 10.47 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2346/0.235, allocations: 115.3 MB / 0.9795 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6982/0.9333, allocations: 139.7 MB / 1.116 GB, free: 16.52 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000185/0.9335, allocations: 78.34 kB / 1.116 GB, free: 16.52 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01483/0.9484, allocations: 5.317 MB / 1.121 GB, free: 31.91 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.644e-06/0.9484, allocations: 0 / 1.121 GB, free: 31.91 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.9484, allocations: 0 / 1.121 GB, free: 31.91 MB / 0.698 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.0003993/0.9488, allocations: 374.4 kB / 1.122 GB, free: 31.52 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.9489, allocations: 11.47 kB / 1.122 GB, free: 31.52 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.086e-05/0.9489, allocations: 34.5 kB / 1.122 GB, free: 31.48 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.501e-05/0.949, allocations: 8.484 kB / 1.122 GB, free: 31.48 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.9491, allocations: 169.9 kB / 1.122 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.9491, allocations: 3.812 kB / 1.122 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.833e-06/0.9491, allocations: 0 / 1.122 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001019/0.9492, allocations: 39.7 kB / 1.122 GB, free: 31.24 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.9492, allocations: 0 / 1.122 GB, free: 31.24 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-06/0.9493, allocations: 0 / 1.122 GB, free: 31.24 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.9493, allocations: 4 kB / 1.122 GB, free: 31.24 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.115e-05/0.9493, allocations: 18.05 kB / 1.122 GB, free: 31.24 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003175/0.9496, allocations: 258.7 kB / 1.122 GB, free: 30.96 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001911/0.9498, allocations: 43.34 kB / 1.122 GB, free: 30.94 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.9499, allocations: 2.906 kB / 1.122 GB, free: 30.94 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.896e-05/0.9499, allocations: 34.56 kB / 1.122 GB, free: 30.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.342e-06/0.9499, allocations: 0 / 1.122 GB, free: 30.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0001806/0.9501, allocations: 61.94 kB / 1.122 GB, free: 30.86 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/0.9501, allocations: 55.36 kB / 1.122 GB, free: 30.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.547e-05/0.9502, allocations: 91.64 kB / 1.122 GB, free: 30.71 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.9502, allocations: 25.7 kB / 1.122 GB, free: 30.68 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.956e-05/0.9503, allocations: 84.05 kB / 1.122 GB, free: 30.59 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.348e-05/0.9503, allocations: 13.91 kB / 1.122 GB, free: 30.59 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.526e-06/0.9503, allocations: 0 / 1.122 GB, free: 30.59 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.9504, allocations: 318.3 kB / 1.123 GB, free: 30.27 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.875e-05/0.9505, allocations: 3.969 kB / 1.123 GB, free: 30.27 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.163e-05/0.9505, allocations: 23.61 kB / 1.123 GB, free: 30.25 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.752e-05/0.9505, allocations: 7.281 kB / 1.123 GB, free: 30.25 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.9505, allocations: 0 / 1.123 GB, free: 30.25 MB / 0.698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.59e-05/0.9506, allocations: 65.27 kB / 1.123 GB, free: 30.21 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.9507, allocations: 3.844 kB / 1.123 GB, free: 30.21 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.9507, allocations: 4.031 kB / 1.123 GB, free: 30.21 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.9507, allocations: 3.875 kB / 1.123 GB, free: 30.21 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.795e-05/0.9507, allocations: 3.844 kB / 1.123 GB, free: 30.21 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.9508, allocations: 7.781 kB / 1.123 GB, free: 30.21 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.561e-05/0.9508, allocations: 7.891 kB / 1.123 GB, free: 30.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.9508, allocations: 6.828 kB / 1.123 GB, free: 30.2 MB / 0.698 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 7.587e-05/0.9509, allocations: 113.3 kB / 1.123 GB, free: 30.08 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.328e-05/0.9509, allocations: 0 / 1.123 GB, free: 30.08 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001358/0.9511, allocations: 61.45 kB / 1.123 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.9511, allocations: 0 / 1.123 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.9511, allocations: 0 / 1.123 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.9511, allocations: 3.953 kB / 1.123 GB, free: 30.04 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001702/0.9513, allocations: 169.3 kB / 1.123 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.9513, allocations: 128 / 1.123 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.739e-05/0.9513, allocations: 11.72 kB / 1.123 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.9513, allocations: 0 / 1.123 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.9513, allocations: 0 / 1.123 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.9513, allocations: 0 / 1.123 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.9513, allocations: 6.953 kB / 1.123 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001315/0.9515, allocations: 152.4 kB / 1.123 GB, free: 29.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.006e-05/0.9515, allocations: 77.11 kB / 1.123 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.9516, allocations: 3.875 kB / 1.123 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.458e-05/0.9516, allocations: 0 / 1.123 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.098e-05/0.9516, allocations: 6.766 kB / 1.123 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.239e-06/0.9517, allocations: 3.844 kB / 1.123 GB, free: 29.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.258e-05/0.9517, allocations: 75.28 kB / 1.124 GB, free: 29.53 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9517, allocations: 4 kB / 1.124 GB, free: 29.52 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00028/0.952, allocations: 26.36 kB / 1.124 GB, free: 29.52 MB / 0.698 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.000485/0.9525, allocations: 0.7098 MB / 1.124 GB, free: 28.85 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.011e-05/0.9526, allocations: 21.59 kB / 1.124 GB, free: 28.85 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.9526, allocations: 4.062 kB / 1.124 GB, free: 28.84 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.707e-05/0.9526, allocations: 17.59 kB / 1.124 GB, free: 28.84 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001429/0.9528, allocations: 0 / 1.124 GB, free: 28.84 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004312/0.9532, allocations: 176.6 kB / 1.124 GB, free: 28.68 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000229/0.9534, allocations: 0.6751 MB / 1.125 GB, free: 27.98 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.795e-05/0.9535, allocations: 14.62 kB / 1.125 GB, free: 27.98 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.854e-05/0.9535, allocations: 11.31 kB / 1.125 GB, free: 27.97 MB / 0.698 GB Notification: Performance of SimCode: time 4.11e-07/0.9535, allocations: 0 / 1.125 GB, free: 27.97 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01094/0.9645, allocations: 1.18 MB / 1.126 GB, free: 27.83 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001901/0.9647, allocations: 215.7 kB / 1.127 GB, free: 27.59 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.591/2.556, allocations: 3.094 kB / 1.127 GB, free: 27.59 MB / 0.698 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)