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: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.601/1.601, allocations: 289.9 MB / 297.4 MB, free: 6.355 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.00119/0.00119, allocations: 176.9 kB / 366.7 MB, free: 1.633 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.418/1.418, allocations: 205.3 MB / 0.626 GB, free: 7.184 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.0007529/0.0007529, allocations: 85.78 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.801e-05/1.803e-05, allocations: 4 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5381/0.5381, allocations: 116.3 MB / 0.9733 GB, free: 76.37 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1651/0.7033, allocations: 139.9 MB / 1.11 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000261/0.7036, allocations: 79.94 kB / 1.11 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01628/0.7199, allocations: 5.29 MB / 1.115 GB, free: 5 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.162e-06/0.7199, allocations: 0 / 1.115 GB, free: 5 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.72, allocations: 0 / 1.115 GB, free: 5 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.0003398/0.7203, allocations: 360.2 kB / 1.115 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.7203, allocations: 8.031 kB / 1.115 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.108e-05/0.7204, allocations: 7.984 kB / 1.115 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.7205, allocations: 163 kB / 1.116 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.7205, allocations: 0 / 1.116 GB, free: 4.391 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.261e-05/0.7205, allocations: 4.75 kB / 1.116 GB, free: 4.387 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.736e-05/0.7206, allocations: 12 kB / 1.116 GB, free: 4.375 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.501e-05/0.7207, allocations: 37.69 kB / 1.116 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.7207, allocations: 0 / 1.116 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.7207, allocations: 4 kB / 1.116 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.7207, allocations: 0 / 1.116 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002968/0.721, allocations: 237.3 kB / 1.116 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001759/0.7212, allocations: 46.67 kB / 1.116 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.094e-05/0.7213, allocations: 24.8 kB / 1.116 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.311e-05/0.7213, allocations: 0 / 1.116 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.837e-05/0.7213, allocations: 30.56 kB / 1.116 GB, free: 3.938 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.7213, allocations: 1.688 kB / 1.116 GB, free: 3.938 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001397/0.7215, allocations: 53.72 kB / 1.116 GB, free: 3.879 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/0.7215, allocations: 51.41 kB / 1.116 GB, free: 3.816 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.695e-05/0.7216, allocations: 92.94 kB / 1.116 GB, free: 3.719 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.7216, allocations: 25.7 kB / 1.116 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.4e-05/0.7217, allocations: 92.05 kB / 1.116 GB, free: 3.594 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.012e-05/0.7217, allocations: 7.891 kB / 1.116 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.476e-06/0.7217, allocations: 0 / 1.116 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.7218, allocations: 322.8 kB / 1.117 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.641e-05/0.7218, allocations: 4 kB / 1.117 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.81e-05/0.7219, allocations: 19.78 kB / 1.117 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.12e-05/0.7219, allocations: 4 kB / 1.117 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.7219, allocations: 7.984 kB / 1.117 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.088e-05/0.722, allocations: 53.55 kB / 1.117 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.722, allocations: 11.98 kB / 1.117 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.7221, allocations: 0 / 1.117 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.7221, allocations: 0 / 1.117 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.668e-05/0.7221, allocations: 8 kB / 1.117 GB, free: 3.145 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.7221, allocations: 1.781 kB / 1.117 GB, free: 3.145 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.162e-05/0.7222, allocations: 0 / 1.117 GB, free: 3.145 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.7222, allocations: 4 kB / 1.117 GB, free: 3.141 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.263e-05/0.7222, allocations: 109 kB / 1.117 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.283e-05/0.7223, allocations: 0 / 1.117 GB, free: 3.027 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001334/0.7224, allocations: 65.73 kB / 1.117 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.7224, allocations: 0 / 1.117 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.7224, allocations: 0 / 1.117 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.7224, allocations: 0 / 1.117 GB, free: 2.949 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001339/0.7226, allocations: 146.1 kB / 1.117 GB, free: 2.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.7226, allocations: 4 kB / 1.117 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.334e-05/0.7226, allocations: 4 kB / 1.117 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.7226, allocations: 4 kB / 1.117 GB, free: 2.758 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.992e-06/0.7226, allocations: 2.375 kB / 1.117 GB, free: 2.758 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.766e-06/0.7226, allocations: 1.219 kB / 1.117 GB, free: 2.758 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.7227, allocations: 7.938 kB / 1.117 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001094/0.7228, allocations: 143.7 kB / 1.117 GB, free: 2.594 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.994e-05/0.7228, allocations: 77.11 kB / 1.117 GB, free: 2.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.7228, allocations: 8.031 kB / 1.117 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.681e-05/0.7229, allocations: 7.922 kB / 1.117 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.044e-05/0.7229, allocations: 4 kB / 1.117 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.7229, allocations: 0 / 1.117 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.59e-05/0.7229, allocations: 83.28 kB / 1.117 GB, free: 2.398 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.41e-07/0.723, allocations: 0 / 1.117 GB, free: 2.398 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002508/0.7232, allocations: 20 kB / 1.117 GB, free: 2.379 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.0001682/0.7234, allocations: 127.2 kB / 1.118 GB, free: 2.246 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.425e-05/0.7235, allocations: 20 kB / 1.118 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.7235, allocations: 2.031 kB / 1.118 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.442e-05/0.7235, allocations: 19.94 kB / 1.118 GB, free: 2.207 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001301/0.7236, allocations: 3.047 kB / 1.118 GB, free: 2.207 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000191/0.7238, allocations: 64.8 kB / 1.118 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002558/0.7241, allocations: 0.6768 MB / 1.118 GB, free: 1.418 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.525e-05/0.7241, allocations: 4 kB / 1.118 GB, free: 1.414 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.706e-05/0.7242, allocations: 11.44 kB / 1.118 GB, free: 1.402 MB / 0.7136 GB Notification: Performance of SimCode: time 2.2e-07/0.7242, allocations: 0 / 1.118 GB, free: 1.402 MB / 0.7136 GB Notification: Performance of Templates: time 0.002159/0.7263, allocations: 485.7 kB / 1.119 GB, free: 0.9648 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (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 & ./Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)