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.708/1.708, allocations: 292.6 MB / 307.5 MB, free: 5.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.001031/0.001031, allocations: 187.9 kB / 377.1 MB, free: 1.527 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.56/1.56, allocations: 205.4 MB / 0.6367 GB, free: 8.648 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.0009058/0.0009055, allocations: 100.3 kB / 0.751 GB, free: 63.05 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003562/0.0003565, allocations: 11.98 kB / 0.8748 GB, free: 11.22 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.253/0.2533, allocations: 116.3 MB / 0.9884 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6637/0.9171, allocations: 140.7 MB / 1.126 GB, free: 34.39 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002337/0.9174, allocations: 74.45 kB / 1.126 GB, free: 34.32 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01443/0.9319, allocations: 5.32 MB / 1.131 GB, free: 30.41 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.114e-06/0.9319, allocations: 0 / 1.131 GB, free: 30.41 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.151e-06/0.9319, allocations: 0 / 1.131 GB, free: 30.41 MB / 0.7292 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.0003301/0.9323, allocations: 368.3 kB / 1.131 GB, free: 30.01 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.9323, allocations: 12.64 kB / 1.131 GB, free: 30 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.389e-05/0.9324, allocations: 0.625 kB / 1.131 GB, free: 30 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.224e-05/0.9325, allocations: 167.7 kB / 1.132 GB, free: 29.8 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.317e-06/0.9325, allocations: 7.938 kB / 1.132 GB, free: 29.79 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.166e-05/0.9325, allocations: 4 kB / 1.132 GB, free: 29.79 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.9326, allocations: 45.62 kB / 1.132 GB, free: 29.74 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.9326, allocations: 0 / 1.132 GB, free: 29.74 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.9326, allocations: 4.703 kB / 1.132 GB, free: 29.74 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.9326, allocations: 0 / 1.132 GB, free: 29.74 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.623e-05/0.9327, allocations: 14.95 kB / 1.132 GB, free: 29.73 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003281/0.933, allocations: 255.1 kB / 1.132 GB, free: 29.44 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001789/0.9332, allocations: 46.22 kB / 1.132 GB, free: 29.39 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.9333, allocations: 3.938 kB / 1.132 GB, free: 29.39 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.552e-05/0.9333, allocations: 38.56 kB / 1.132 GB, free: 29.34 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=4): time 1.423e-06/0.9333, allocations: 0 / 1.132 GB, free: 29.34 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4): time 0.0001557/0.9334, allocations: 53.22 kB / 1.132 GB, free: 29.29 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.395e-05/0.9335, allocations: 51.41 kB / 1.132 GB, free: 29.22 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.267e-05/0.9335, allocations: 97.88 kB / 1.132 GB, free: 29.12 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.9336, allocations: 26.36 kB / 1.132 GB, free: 29.09 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.558e-05/0.9336, allocations: 88.05 kB / 1.132 GB, free: 29 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.02e-05/0.9336, allocations: 11.89 kB / 1.132 GB, free: 28.99 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-06/0.9336, allocations: 4 kB / 1.132 GB, free: 28.99 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.6e-05/0.9337, allocations: 318.1 kB / 1.133 GB, free: 28.67 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.721e-05/0.9337, allocations: 7.938 kB / 1.133 GB, free: 28.66 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.402e-05/0.9337, allocations: 25.88 kB / 1.133 GB, free: 28.64 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.401e-05/0.9338, allocations: 8.656 kB / 1.133 GB, free: 28.63 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.9338, allocations: 0 / 1.133 GB, free: 28.63 MB / 0.7292 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.112e-05/0.9338, allocations: 56.94 kB / 1.133 GB, free: 28.57 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.9339, allocations: 12.91 kB / 1.133 GB, free: 28.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.9339, allocations: 0 / 1.133 GB, free: 28.56 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.9339, allocations: 0 / 1.133 GB, free: 28.56 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.718e-05/0.9339, allocations: 11.52 kB / 1.133 GB, free: 28.55 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.934, allocations: 0.75 kB / 1.133 GB, free: 28.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.671e-05/0.934, allocations: 5 kB / 1.133 GB, free: 28.55 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.443e-06/0.934, allocations: 7.953 kB / 1.133 GB, free: 28.54 MB / 0.7292 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 4.952e-05/0.9341, allocations: 105.8 kB / 1.133 GB, free: 28.43 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.174e-05/0.9341, allocations: 4 kB / 1.133 GB, free: 28.42 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001192/0.9342, allocations: 69.44 kB / 1.133 GB, free: 28.36 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.9342, allocations: 0 / 1.133 GB, free: 28.36 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.9342, allocations: 3.938 kB / 1.133 GB, free: 28.35 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.9342, allocations: 0 / 1.133 GB, free: 28.35 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001184/0.9344, allocations: 161.6 kB / 1.133 GB, free: 28.15 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.9344, allocations: 1.188 kB / 1.133 GB, free: 28.15 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.513e-05/0.9344, allocations: 8 kB / 1.133 GB, free: 28.14 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.9344, allocations: 0 / 1.133 GB, free: 28.14 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.9344, allocations: 3.328 kB / 1.133 GB, free: 28.14 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.9344, allocations: 4 kB / 1.133 GB, free: 28.14 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.9344, allocations: 0.9375 kB / 1.133 GB, free: 28.14 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.449e-05/0.9345, allocations: 151.3 kB / 1.133 GB, free: 27.98 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.815e-05/0.9346, allocations: 85.11 kB / 1.133 GB, free: 27.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.081e-05/0.9346, allocations: 48 / 1.133 GB, free: 27.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.284e-05/0.9346, allocations: 4.609 kB / 1.133 GB, free: 27.87 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.831e-05/0.9347, allocations: 7.406 kB / 1.133 GB, free: 27.87 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.9347, allocations: 4 kB / 1.133 GB, free: 27.86 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.66e-05/0.9347, allocations: 79.28 kB / 1.133 GB, free: 27.79 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9347, allocations: 0 / 1.133 GB, free: 27.79 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002418/0.9349, allocations: 24 kB / 1.133 GB, free: 27.76 MB / 0.7292 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.0001609/0.9351, allocations: 127 kB / 1.133 GB, free: 27.64 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.505e-05/0.9352, allocations: 23.56 kB / 1.134 GB, free: 27.62 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.9352, allocations: 0 / 1.134 GB, free: 27.62 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.814e-05/0.9352, allocations: 15.94 kB / 1.134 GB, free: 27.6 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001253/0.9354, allocations: 8.016 kB / 1.134 GB, free: 27.59 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002464/0.9356, allocations: 132.4 kB / 1.134 GB, free: 27.46 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.99e-05/0.9357, allocations: 0.6804 MB / 1.134 GB, free: 26.75 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.688e-05/0.9358, allocations: 4.406 kB / 1.134 GB, free: 26.75 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.737e-05/0.9358, allocations: 15.44 kB / 1.134 GB, free: 26.74 MB / 0.7292 GB Notification: Performance of SimCode: time 2.2e-07/0.9358, allocations: 0 / 1.134 GB, free: 26.74 MB / 0.7292 GB Notification: Performance of Templates: time 0.002216/0.938, allocations: 476.5 kB / 1.135 GB, free: 26.46 MB / 0.7292 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)