Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.002356/0.002356, allocations: 93.47 kB / 20.21 MB, free: 4.211 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.002131/0.002131, allocations: 165.2 kB / 23.53 MB, free: 0.8945 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.571/1.571, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.025/1.025, allocations: 115 MB / 375.3 MB, free: 7.578 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.485e-06/2.485e-06, allocations: 0 / 480.8 MB, free: 11.87 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.372e-05/3.621e-05, allocations: 5.812 kB / 480.8 MB, free: 11.87 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002939/0.002976, allocations: 1.294 MB / 482.1 MB, free: 10.99 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001144/0.004119, allocations: 0.55 MB / 482.6 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.268e-05/0.004142, allocations: 0 / 482.6 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 1.552e-05/0.004158, allocations: 0.9375 kB / 482.6 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.182e-05/0.004209, allocations: 3.938 kB / 482.6 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000562/0.004772, allocations: 142.2 kB / 482.8 MB, free: 10.57 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.111e-05/0.004823, allocations: 8.344 kB / 482.8 MB, free: 10.57 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.618e-05/0.004859, allocations: 2.875 kB / 482.8 MB, free: 10.57 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.55e-05/0.004894, allocations: 5.641 kB / 482.8 MB, free: 10.57 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.757e-05/0.004942, allocations: 8.859 kB / 482.8 MB, free: 10.57 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.004956, allocations: 0 / 482.8 MB, free: 10.57 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005368/0.005492, allocations: 270.2 kB / 483.1 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.263e-05/0.005505, allocations: 0 / 483.1 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.816e-05/0.005523, allocations: 4 kB / 483.1 MB, free: 10.5 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000317/0.00584, allocations: 150.3 kB / 483.2 MB, free: 10.45 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.005844, allocations: 0 / 483.2 MB, free: 10.45 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.005845, allocations: 1.219 kB / 483.2 MB, free: 10.45 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.005849, allocations: 0 / 483.2 MB, free: 10.45 MB / 410.7 MB 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.0003798/0.006229, allocations: 384.2 kB / 483.6 MB, free: 10.06 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.006272, allocations: 12.28 kB / 483.6 MB, free: 10.06 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.267e-05/0.006314, allocations: 0.9375 kB / 483.6 MB, free: 10.06 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.041e-05/0.006395, allocations: 110.7 kB / 483.7 MB, free: 9.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.006407, allocations: 2.719 kB / 483.7 MB, free: 9.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.057e-06/0.006416, allocations: 5.25 kB / 483.7 MB, free: 9.926 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.537e-05/0.006502, allocations: 33.92 kB / 483.8 MB, free: 9.891 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.006511, allocations: 5.031 kB / 483.8 MB, free: 9.887 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.006519, allocations: 3.938 kB / 483.8 MB, free: 9.883 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.006523, allocations: 0 / 483.8 MB, free: 9.883 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.287e-05/0.006556, allocations: 4.125 kB / 483.8 MB, free: 9.883 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001609/0.006717, allocations: 119.9 kB / 483.9 MB, free: 9.738 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.251e-05/0.00679, allocations: 28.34 kB / 483.9 MB, free: 9.703 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.635e-05/0.006816, allocations: 12.19 kB / 483.9 MB, free: 9.691 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.72e-05/0.006853, allocations: 3.984 kB / 483.9 MB, free: 9.688 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.006884, allocations: 48.06 kB / 484 MB, free: 9.637 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.006885, allocations: 1.281 kB / 484 MB, free: 9.637 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002089/0.007094, allocations: 38.39 kB / 484 MB, free: 9.602 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.87e-05/0.007122, allocations: 52.81 kB / 484.1 MB, free: 9.539 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.303e-05/0.007205, allocations: 162.8 kB / 484.2 MB, free: 9.371 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.027e-05/0.007216, allocations: 25.7 kB / 484.2 MB, free: 9.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.621e-05/0.007242, allocations: 126.9 kB / 484.4 MB, free: 9.211 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.494e-05/0.007267, allocations: 5.766 kB / 484.4 MB, free: 9.207 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.868e-05/0.007296, allocations: 20.16 kB / 484.4 MB, free: 9.184 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005573/0.007853, allocations: 496.1 kB / 484.9 MB, free: 24.69 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.213e-05/0.007875, allocations: 1.375 kB / 484.9 MB, free: 24.69 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.857e-05/0.007894, allocations: 10.31 kB / 484.9 MB, free: 24.68 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.066e-05/0.007934, allocations: 18.66 kB / 484.9 MB, free: 24.67 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.007936, allocations: 0 / 484.9 MB, free: 24.67 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.891e-05/0.008015, allocations: 34.89 kB / 484.9 MB, free: 24.64 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.008036, allocations: 5.156 kB / 485 MB, free: 24.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.008043, allocations: 1.594 kB / 485 MB, free: 24.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.098e-05/0.008064, allocations: 5.719 kB / 485 MB, free: 24.63 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002191/0.008283, allocations: 11.27 kB / 485 MB, free: 24.63 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007406/0.009024, allocations: 0.9011 MB / 485.9 MB, free: 23.72 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.841e-05/0.009042, allocations: 2.188 kB / 485.9 MB, free: 23.72 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.009049, allocations: 1.031 kB / 485.9 MB, free: 23.72 MB / 426.7 MB 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.0001347/0.009183, allocations: 163.6 kB / 486 MB, free: 23.55 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.323e-05/0.009197, allocations: 0.8438 kB / 486 MB, free: 23.55 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000143/0.00934, allocations: 49.03 kB / 486.1 MB, free: 23.51 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.009342, allocations: 0 / 486.1 MB, free: 23.51 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.009347, allocations: 0 / 486.1 MB, free: 23.51 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.009352, allocations: 1.188 kB / 486.1 MB, free: 23.51 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.272e-05/0.009425, allocations: 110.3 kB / 486.2 MB, free: 23.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.009427, allocations: 12.94 kB / 486.2 MB, free: 23.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.009535, allocations: 11.81 kB / 486.2 MB, free: 23.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.009538, allocations: 0 / 486.2 MB, free: 23.36 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.009546, allocations: 1.25 kB / 486.2 MB, free: 23.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007642/0.01031, allocations: 0.8934 MB / 487.1 MB, free: 22.46 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.01031, allocations: 1.969 kB / 487.1 MB, free: 22.46 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001049/0.01042, allocations: 83.05 kB / 487.2 MB, free: 22.37 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.148e-05/0.01043, allocations: 10.08 kB / 487.2 MB, free: 22.36 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.01045, allocations: 4 kB / 487.2 MB, free: 22.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.227e-05/0.01047, allocations: 2.531 kB / 487.2 MB, free: 22.36 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.332e-05/0.0105, allocations: 1.094 kB / 487.2 MB, free: 22.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.01e-06/0.01051, allocations: 1.125 kB / 487.2 MB, free: 22.36 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001177/0.01062, allocations: 124.5 kB / 487.3 MB, free: 22.24 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01062, allocations: 0 / 487.3 MB, free: 22.24 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003363/0.01096, allocations: 12.84 kB / 487.3 MB, free: 22.23 MB / 426.7 MB 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.0002402/0.0112, allocations: 108.7 kB / 487.5 MB, free: 22.14 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002409/0.01144, allocations: 30.88 kB / 487.5 MB, free: 22.13 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.01144, allocations: 0 / 487.5 MB, free: 22.13 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001498/0.01159, allocations: 25.39 kB / 487.5 MB, free: 22.11 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/0.01182, allocations: 2.062 kB / 487.5 MB, free: 22.11 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003978/0.01222, allocations: 116 kB / 487.6 MB, free: 22 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.312e-05/0.01226, allocations: 58.48 kB / 487.7 MB, free: 21.93 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.958e-05/0.01228, allocations: 2.031 kB / 487.7 MB, free: 21.93 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.89e-05/0.0123, allocations: 9.625 kB / 487.7 MB, free: 21.92 MB / 426.7 MB Notification: Performance of SimCode: time 5.21e-07/0.0123, allocations: 0 / 487.7 MB, free: 21.92 MB / 426.7 MB Notification: Performance of Templates: time 0.004725/0.01702, allocations: 494.9 kB / 488.2 MB, free: 21.89 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.680207706056535]