Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.352/2.352, allocations: 251.1 MB / 266.7 MB, free: 11.64 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.001384/0.001383, allocations: 182.7 kB / 326.2 MB, free: 2.871 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.432/2.432, allocations: 205.4 MB / 0.5772 GB, free: 20.79 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.0009239/0.0009239, allocations: 91.59 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006441/0.0006443, allocations: 12.12 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.245, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2905/0.5356, allocations: 132 MB / 1.028 GB, free: 13.32 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003957/0.536, allocations: 79.95 kB / 1.029 GB, free: 13.25 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02222/0.5583, allocations: 3.471 MB / 1.032 GB, free: 9.77 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.044e-05/0.5583, allocations: 4 kB / 1.032 GB, free: 9.766 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.26e-05/0.5583, allocations: 3.938 kB / 1.032 GB, free: 9.762 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004466/0.5588, allocations: 347.3 kB / 1.032 GB, free: 9.371 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.5589, allocations: 15.95 kB / 1.032 GB, free: 9.355 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.888e-05/0.5589, allocations: 4.938 kB / 1.032 GB, free: 9.352 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.5591, allocations: 160.4 kB / 1.032 GB, free: 9.156 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.5591, allocations: 384 / 1.032 GB, free: 9.156 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.057e-05/0.5591, allocations: 384 / 1.032 GB, free: 9.156 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/0.5593, allocations: 38.27 kB / 1.032 GB, free: 9.113 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.5593, allocations: 192 / 1.032 GB, free: 9.113 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.5593, allocations: 3.938 kB / 1.032 GB, free: 9.109 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.5593, allocations: 0 / 1.032 GB, free: 9.109 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.632e-05/0.5594, allocations: 7.984 kB / 1.032 GB, free: 9.102 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002291/0.5596, allocations: 149.7 kB / 1.033 GB, free: 8.906 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.583e-05/0.5597, allocations: 22.55 kB / 1.033 GB, free: 8.875 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.75e-05/0.5598, allocations: 12.91 kB / 1.033 GB, free: 8.859 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/0.5598, allocations: 4 kB / 1.033 GB, free: 8.855 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.963e-05/0.5599, allocations: 34.56 kB / 1.033 GB, free: 8.812 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.904e-06/0.5599, allocations: 0 / 1.033 GB, free: 8.812 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0001836/0.5601, allocations: 45.58 kB / 1.033 GB, free: 8.762 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/0.5602, allocations: 51.41 kB / 1.033 GB, free: 8.699 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.185e-05/0.5603, allocations: 97.84 kB / 1.033 GB, free: 8.594 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.766e-05/0.5603, allocations: 25.95 kB / 1.033 GB, free: 8.562 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.686e-05/0.5604, allocations: 88.14 kB / 1.033 GB, free: 8.473 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.705e-05/0.5604, allocations: 3.906 kB / 1.033 GB, free: 8.469 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-06/0.5604, allocations: 0 / 1.033 GB, free: 8.469 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.5606, allocations: 310.8 kB / 1.033 GB, free: 8.156 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.654e-05/0.5606, allocations: 8 kB / 1.033 GB, free: 8.148 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.565e-05/0.5607, allocations: 0 / 1.033 GB, free: 8.148 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.065e-05/0.5607, allocations: 4 kB / 1.033 GB, free: 8.145 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.5607, allocations: 0 / 1.033 GB, free: 8.145 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001246/0.5609, allocations: 45.75 kB / 1.033 GB, free: 8.094 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.5609, allocations: 4 kB / 1.033 GB, free: 8.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.5609, allocations: 3.938 kB / 1.033 GB, free: 8.086 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.5609, allocations: 0 / 1.033 GB, free: 8.086 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000269/0.5612, allocations: 15.92 kB / 1.033 GB, free: 8.07 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005479/0.5618, allocations: 0.586 MB / 1.034 GB, free: 7.461 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.324e-05/0.5619, allocations: 0 / 1.034 GB, free: 7.461 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.5619, allocations: 4.125 kB / 1.034 GB, free: 7.457 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001216/0.562, allocations: 109.8 kB / 1.034 GB, free: 7.34 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.87e-05/0.562, allocations: 7.938 kB / 1.034 GB, free: 7.332 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001702/0.5622, allocations: 56.72 kB / 1.034 GB, free: 7.27 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.281e-06/0.5623, allocations: 4 kB / 1.034 GB, free: 7.266 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.5623, allocations: 0 / 1.034 GB, free: 7.266 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.5623, allocations: 0 / 1.034 GB, free: 7.266 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001608/0.5625, allocations: 161.5 kB / 1.034 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.5625, allocations: 4.031 kB / 1.034 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001615/0.5627, allocations: 8 kB / 1.034 GB, free: 7.047 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.5627, allocations: 0 / 1.034 GB, free: 7.047 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.5627, allocations: 3.984 kB / 1.034 GB, free: 7.043 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004831/0.5632, allocations: 0.5782 MB / 1.035 GB, free: 6.441 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.5632, allocations: 3.938 kB / 1.035 GB, free: 6.438 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001222/0.5633, allocations: 69.2 kB / 1.035 GB, free: 6.352 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.862e-05/0.5634, allocations: 81.09 kB / 1.035 GB, free: 6.254 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.5635, allocations: 0 / 1.035 GB, free: 6.254 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.843e-05/0.5635, allocations: 0 / 1.035 GB, free: 6.254 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.233e-05/0.5635, allocations: 3.938 kB / 1.035 GB, free: 6.25 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.5635, allocations: 4 kB / 1.035 GB, free: 6.246 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.974e-05/0.5636, allocations: 79.28 kB / 1.035 GB, free: 6.168 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.31e-07/0.5636, allocations: 4.125 kB / 1.035 GB, free: 6.164 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004377/0.5641, allocations: 15.94 kB / 1.035 GB, free: 6.148 MB / 0.6823 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002453/0.5643, allocations: 111.2 kB / 1.035 GB, free: 6.027 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002678/0.5646, allocations: 19.98 kB / 1.035 GB, free: 6.008 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.5646, allocations: 3.938 kB / 1.035 GB, free: 6.004 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001942/0.5649, allocations: 15.98 kB / 1.035 GB, free: 5.988 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002674/0.5651, allocations: 11.06 kB / 1.035 GB, free: 5.98 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003942/0.5656, allocations: 107.1 kB / 1.035 GB, free: 5.852 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003364/0.5659, allocations: 0.6731 MB / 1.036 GB, free: 5.152 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.361e-05/0.5659, allocations: 0 / 1.036 GB, free: 5.152 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.986e-05/0.566, allocations: 11.44 kB / 1.036 GB, free: 5.141 MB / 0.6823 GB Notification: Performance of SimCode: time 8.82e-07/0.566, allocations: 0 / 1.036 GB, free: 5.141 MB / 0.6823 GB Notification: Performance of Templates: time 0.003724/0.5697, allocations: 417.4 kB / 1.036 GB, free: 4.742 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)