Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001836/0.001836, allocations: 80.55 kB / 19.96 MB, free: 4.598 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00195/0.00195, allocations: 173.2 kB / 23.23 MB, free: 1.324 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.728/1.728, allocations: 177.1 MB / 203.5 MB, free: 5.766 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.27/3.27, allocations: 389.5 MB / 0.6343 GB, free: 12.62 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 1.001 GB, free: 13.06 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.613e-05/2.751e-05, allocations: 2.281 kB / 1.001 GB, free: 13.06 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002471/0.002498, allocations: 1.271 MB / 1.002 GB, free: 11.78 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001052/0.00355, allocations: 0.5184 MB / 1.003 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.249e-05/0.003583, allocations: 0 / 1.003 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.854e-05/0.003601, allocations: 0 / 1.003 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 3.873e-05/0.00364, allocations: 7.984 kB / 1.003 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005359/0.004176, allocations: 149.2 kB / 1.003 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.81e-05/0.004244, allocations: 7.938 kB / 1.003 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 6.164e-05/0.004305, allocations: 0 / 1.003 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.299e-05/0.004338, allocations: 7.938 kB / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.777e-05/0.004396, allocations: 7.984 kB / 1.003 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.004413, allocations: 0 / 1.003 GB, free: 11.08 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005271/0.00494, allocations: 271.4 kB / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.93e-05/0.00496, allocations: 0 / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.959e-05/0.004989, allocations: 15.98 kB / 1.003 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003566/0.005346, allocations: 143.6 kB / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.005349, allocations: 0 / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of FrontEnd: time 4.91e-07/0.005349, allocations: 0 / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.005355, allocations: 0 / 1.003 GB, free: 10.66 MB / 0.9636 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.0005631/0.005918, allocations: 274 kB / 1.004 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.448e-05/0.005972, allocations: 12.73 kB / 1.004 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.814e-05/0.00601, allocations: 0.9375 kB / 1.004 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/0.006167, allocations: 113.8 kB / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.006182, allocations: 384 / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.658e-06/0.006192, allocations: 4.375 kB / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.006317, allocations: 34.2 kB / 1.004 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.00633, allocations: 192 / 1.004 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.00634, allocations: 4.312 kB / 1.004 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.006346, allocations: 384 / 1.004 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.867e-05/0.006384, allocations: 11.92 kB / 1.004 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001801/0.006565, allocations: 101.3 kB / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.893e-05/0.006634, allocations: 18.61 kB / 1.004 GB, free: 9.996 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.224e-05/0.006666, allocations: 12.92 kB / 1.004 GB, free: 9.98 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.929e-05/0.006695, allocations: 0 / 1.004 GB, free: 9.98 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.712e-05/0.006742, allocations: 42.5 kB / 1.004 GB, free: 9.93 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 7.41e-07/0.006743, allocations: 0 / 1.004 GB, free: 9.93 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.000214/0.006957, allocations: 41.69 kB / 1.004 GB, free: 9.883 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.221e-05/0.007049, allocations: 55.41 kB / 1.004 GB, free: 9.816 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.007168, allocations: 93.8 kB / 1.004 GB, free: 9.715 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.507e-05/0.007193, allocations: 29.7 kB / 1.004 GB, free: 9.68 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.232e-05/0.007255, allocations: 80.14 kB / 1.004 GB, free: 9.598 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.529e-05/0.007291, allocations: 3.953 kB / 1.004 GB, free: 9.594 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-05/0.007335, allocations: 21.7 kB / 1.004 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002051/0.00754, allocations: 311.1 kB / 1.005 GB, free: 9.254 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.372e-05/0.007554, allocations: 4 kB / 1.005 GB, free: 9.25 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.556e-06/0.007563, allocations: 4 kB / 1.005 GB, free: 9.246 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.89e-05/0.007602, allocations: 16.8 kB / 1.005 GB, free: 9.227 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.007604, allocations: 0 / 1.005 GB, free: 9.227 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.598e-05/0.00768, allocations: 41.69 kB / 1.005 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.007694, allocations: 4 kB / 1.005 GB, free: 9.176 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.0077, allocations: 0 / 1.005 GB, free: 9.176 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.402e-05/0.007724, allocations: 3.938 kB / 1.005 GB, free: 9.172 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001973/0.007921, allocations: 8.094 kB / 1.005 GB, free: 9.164 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000558/0.008479, allocations: 0.5976 MB / 1.005 GB, free: 8.543 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.289e-05/0.008502, allocations: 4.031 kB / 1.005 GB, free: 8.539 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.008511, allocations: 4 kB / 1.005 GB, free: 8.535 MB / 0.9636 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001068/0.008618, allocations: 105.8 kB / 1.005 GB, free: 8.422 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.048e-05/0.008629, allocations: 3.938 kB / 1.005 GB, free: 8.418 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001315/0.00876, allocations: 56.94 kB / 1.005 GB, free: 8.352 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.008762, allocations: 0 / 1.005 GB, free: 8.352 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.008767, allocations: 4.125 kB / 1.005 GB, free: 8.348 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.00877, allocations: 0 / 1.005 GB, free: 8.348 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001289/0.008899, allocations: 101.3 kB / 1.006 GB, free: 8.219 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.0089, allocations: 3.938 kB / 1.006 GB, free: 8.215 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.008e-05/0.00898, allocations: 11.98 kB / 1.006 GB, free: 8.203 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.008984, allocations: 7.922 kB / 1.006 GB, free: 8.195 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.008997, allocations: 7.938 kB / 1.006 GB, free: 8.188 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004407/0.009438, allocations: 0.5782 MB / 1.006 GB, free: 7.586 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.009439, allocations: 0 / 1.006 GB, free: 7.586 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001088/0.009547, allocations: 69.19 kB / 1.006 GB, free: 7.5 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.027e-05/0.009558, allocations: 4 kB / 1.006 GB, free: 7.496 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.00957, allocations: 0 / 1.006 GB, free: 7.496 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.318e-05/0.009583, allocations: 7.938 kB / 1.006 GB, free: 7.488 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.646e-05/0.0096, allocations: 0 / 1.006 GB, free: 7.488 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.009606, allocations: 3.984 kB / 1.006 GB, free: 7.484 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.918e-05/0.009665, allocations: 79.28 kB / 1.006 GB, free: 7.406 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.009665, allocations: 0 / 1.006 GB, free: 7.406 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002022/0.009868, allocations: 4 kB / 1.006 GB, free: 7.402 MB / 0.9636 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002302/0.0101, allocations: 115.3 kB / 1.006 GB, free: 7.281 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001705/0.01027, allocations: 19.98 kB / 1.006 GB, free: 7.262 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.01027, allocations: 0 / 1.006 GB, free: 7.262 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.429e-05/0.01035, allocations: 12 kB / 1.006 GB, free: 7.25 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001424/0.0105, allocations: 3.938 kB / 1.006 GB, free: 7.246 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003352/0.01083, allocations: 110.2 kB / 1.007 GB, free: 7.117 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.129e-05/0.01089, allocations: 59.47 kB / 1.007 GB, free: 7.039 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.487e-05/0.01091, allocations: 4 kB / 1.007 GB, free: 7.035 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.877e-05/0.01093, allocations: 8.5 kB / 1.007 GB, free: 7.027 MB / 0.9636 GB Notification: Performance of SimCode: time 4.1e-07/0.01093, allocations: 0 / 1.007 GB, free: 7.027 MB / 0.9636 GB Notification: Performance of Templates: time 0.003374/0.0143, allocations: 488.3 kB / 1.007 GB, free: 6.59 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.048693123273551]