Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.261/2.261, allocations: 251.1 MB / 266.7 MB, free: 11.62 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.001289/0.001288, allocations: 176.4 kB / 326.2 MB, free: 2.852 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.481/2.481, allocations: 205.4 MB / 0.5772 GB, free: 20.74 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.0009404/0.0009403, allocations: 95.41 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006523/0.0006526, allocations: 10.38 kB / 0.7957 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2105/0.2111, allocations: 106.3 MB / 0.8995 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2275/0.4387, allocations: 133.2 MB / 1.03 GB, free: 12.14 MB / 0.6824 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003298/0.4391, allocations: 87.94 kB / 1.03 GB, free: 12.05 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 0.02895/0.4681, allocations: 5.354 MB / 1.035 GB, free: 6.688 MB / 0.6824 GB Notification: Performance of FrontEnd: time 2.194e-06/0.4681, allocations: 0 / 1.035 GB, free: 6.688 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 7.124e-06/0.4682, allocations: 0 / 1.035 GB, free: 6.688 MB / 0.6824 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.0004942/0.4687, allocations: 367.4 kB / 1.035 GB, free: 6.277 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.4687, allocations: 12.03 kB / 1.035 GB, free: 6.266 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.882e-05/0.4688, allocations: 0.9375 kB / 1.035 GB, free: 6.266 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/0.4689, allocations: 168.3 kB / 1.035 GB, free: 6.062 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.4689, allocations: 4.375 kB / 1.035 GB, free: 6.059 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.323e-05/0.4689, allocations: 384 / 1.035 GB, free: 6.059 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.4691, allocations: 42.25 kB / 1.035 GB, free: 6.012 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.4691, allocations: 192 / 1.035 GB, free: 6.012 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.4691, allocations: 3.938 kB / 1.035 GB, free: 6.008 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.4691, allocations: 3.984 kB / 1.035 GB, free: 6.004 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.937e-05/0.4692, allocations: 16 kB / 1.035 GB, free: 5.988 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003978/0.4696, allocations: 252.9 kB / 1.036 GB, free: 5.691 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002582/0.4699, allocations: 58.38 kB / 1.036 GB, free: 5.625 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.63e-05/0.47, allocations: 20.84 kB / 1.036 GB, free: 5.602 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/0.47, allocations: 0 / 1.036 GB, free: 5.602 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.024e-05/0.4701, allocations: 38.56 kB / 1.036 GB, free: 5.555 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=4): time 1.383e-06/0.4701, allocations: 0 / 1.036 GB, free: 5.555 MB / 0.6824 GB Notification: Performance of matching and sorting (n=4): time 0.0002179/0.4703, allocations: 61.53 kB / 1.036 GB, free: 5.488 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.691e-05/0.4704, allocations: 51.41 kB / 1.036 GB, free: 5.426 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.641e-05/0.4705, allocations: 101.8 kB / 1.036 GB, free: 5.316 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.4705, allocations: 25.7 kB / 1.036 GB, free: 5.285 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 4.621e-05/0.4706, allocations: 80.14 kB / 1.036 GB, free: 5.203 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 1.903e-05/0.4706, allocations: 15.81 kB / 1.036 GB, free: 5.188 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-06/0.4706, allocations: 4 kB / 1.036 GB, free: 5.184 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.4708, allocations: 310.8 kB / 1.036 GB, free: 4.871 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.325e-05/0.4708, allocations: 11.98 kB / 1.036 GB, free: 4.859 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.233e-05/0.4709, allocations: 17.72 kB / 1.036 GB, free: 4.836 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.844e-05/0.4709, allocations: 8 kB / 1.036 GB, free: 4.828 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.4709, allocations: 0 / 1.036 GB, free: 4.828 MB / 0.6824 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000143/0.4711, allocations: 65.56 kB / 1.037 GB, free: 4.758 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.4711, allocations: 8.031 kB / 1.037 GB, free: 4.75 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.4711, allocations: 0 / 1.037 GB, free: 4.75 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.4711, allocations: 0 / 1.037 GB, free: 4.75 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.58e-05/0.4712, allocations: 11.98 kB / 1.037 GB, free: 4.738 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.4713, allocations: 0 / 1.037 GB, free: 4.738 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.821e-05/0.4713, allocations: 4 kB / 1.037 GB, free: 4.734 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.4713, allocations: 0 / 1.037 GB, free: 4.734 MB / 0.6824 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.618e-05/0.4714, allocations: 117.8 kB / 1.037 GB, free: 4.609 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.38e-05/0.4715, allocations: 3.906 kB / 1.037 GB, free: 4.605 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000193/0.4717, allocations: 69.53 kB / 1.037 GB, free: 4.527 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.4717, allocations: 0 / 1.037 GB, free: 4.527 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.4717, allocations: 0 / 1.037 GB, free: 4.527 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.4717, allocations: 0 / 1.037 GB, free: 4.527 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002031/0.4719, allocations: 161.5 kB / 1.037 GB, free: 4.32 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.4719, allocations: 4.047 kB / 1.037 GB, free: 4.316 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.312e-05/0.472, allocations: 7.984 kB / 1.037 GB, free: 4.309 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.472, allocations: 0 / 1.037 GB, free: 4.309 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.472, allocations: 128 / 1.037 GB, free: 4.309 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.4721, allocations: 7.938 kB / 1.037 GB, free: 4.301 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.4721, allocations: 11.94 kB / 1.037 GB, free: 4.289 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000167/0.4722, allocations: 147.4 kB / 1.037 GB, free: 4.129 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 5.366e-05/0.4723, allocations: 85.02 kB / 1.037 GB, free: 4.027 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.4723, allocations: 3.984 kB / 1.037 GB, free: 4.023 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.616e-05/0.4724, allocations: 0 / 1.037 GB, free: 4.023 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.916e-05/0.4724, allocations: 0 / 1.037 GB, free: 4.023 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.4725, allocations: 4 kB / 1.037 GB, free: 4.02 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 4.93e-05/0.4725, allocations: 83.28 kB / 1.037 GB, free: 3.938 MB / 0.6824 GB Notification: Performance of sort global known variables: time 3.51e-07/0.4725, allocations: 0 / 1.037 GB, free: 3.938 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.0003376/0.4729, allocations: 23.98 kB / 1.037 GB, free: 3.914 MB / 0.6824 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.0002468/0.4731, allocations: 127.2 kB / 1.037 GB, free: 3.777 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.0001221/0.4733, allocations: 27.92 kB / 1.037 GB, free: 3.75 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 4.89e-06/0.4733, allocations: 4 kB / 1.037 GB, free: 3.746 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 3.191e-05/0.4733, allocations: 8 kB / 1.037 GB, free: 3.738 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002636/0.4736, allocations: 7.875 kB / 1.037 GB, free: 3.73 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003632/0.474, allocations: 132.7 kB / 1.038 GB, free: 3.57 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003515/0.4743, allocations: 0.6809 MB / 1.038 GB, free: 2.863 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 5.13e-05/0.4744, allocations: 7.922 kB / 1.038 GB, free: 2.855 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.038e-05/0.4744, allocations: 11.44 kB / 1.038 GB, free: 2.844 MB / 0.6824 GB Notification: Performance of SimCode: time 9.32e-07/0.4745, allocations: 7.938 kB / 1.038 GB, free: 2.836 MB / 0.6824 GB Notification: Performance of Templates: time 0.003243/0.4777, allocations: 489.7 kB / 1.039 GB, free: 2.359 MB / 0.6824 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)