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.001324/0.001324, allocations: 75.3 kB / 19.93 MB, free: 1.77 MB / 14.72 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.001463/0.001463, allocations: 171.2 kB / 23.22 MB, free: 4.887 MB / 14.72 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.366/1.366, allocations: 177.1 MB / 203.5 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 179] 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 0.9017/0.9017, allocations: 114 MB / 373.9 MB, free: 13.22 MB / 350.1 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 1.893e-06/1.893e-06, allocations: 0 / 0.5547 GB, free: 2.637 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.367e-05/3.557e-05, allocations: 2.281 kB / 0.5547 GB, free: 2.633 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.003184/0.003219, allocations: 1.262 MB / 0.5559 GB, free: 1.363 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001259/0.004479, allocations: 0.5176 MB / 0.5564 GB, free: 0.8438 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.589e-05/0.004505, allocations: 0 / 0.5564 GB, free: 0.8438 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 2.405e-05/0.004529, allocations: 3.938 kB / 0.5564 GB, free: 0.8398 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 5.847e-05/0.004587, allocations: 4 kB / 0.5564 GB, free: 0.8359 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007006/0.005288, allocations: 143.2 kB / 0.5566 GB, free: 0.6953 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 5.537e-05/0.005343, allocations: 11.94 kB / 0.5566 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.736e-05/0.00539, allocations: 7.984 kB / 0.5566 GB, free: 0.6758 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.008e-05/0.005431, allocations: 7.938 kB / 0.5566 GB, free: 0.668 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.817e-05/0.005489, allocations: 8 kB / 0.5566 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.005503, allocations: 0 / 0.5566 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006052/0.006108, allocations: 267.4 kB / 0.5568 GB, free: 408 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.942e-05/0.006127, allocations: 7.984 kB / 0.5569 GB, free: 400 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 2.793e-05/0.006155, allocations: 4 kB / 0.5569 GB, free: 396 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003444/0.0065, allocations: 147.5 kB / 0.557 GB, free: 248 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.006502, allocations: 0 / 0.557 GB, free: 248 kB / 462.1 MB Notification: Performance of FrontEnd: time 7.11e-07/0.006503, allocations: 0 / 0.557 GB, free: 248 kB / 462.1 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.006507, allocations: 4 kB / 0.557 GB, free: 244 kB / 462.1 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.0004811/0.006988, allocations: 274 kB / 0.5573 GB, free: 15.94 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.007031, allocations: 8.031 kB / 0.5573 GB, free: 15.93 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.456e-05/0.007065, allocations: 0.9375 kB / 0.5573 GB, free: 15.93 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.007196, allocations: 109.8 kB / 0.5574 GB, free: 15.8 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.007209, allocations: 384 / 0.5574 GB, free: 15.8 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/0.007222, allocations: 8.25 kB / 0.5574 GB, free: 15.79 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.007336, allocations: 34.25 kB / 0.5574 GB, free: 15.75 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.00735, allocations: 3.938 kB / 0.5574 GB, free: 15.75 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.906e-06/0.007359, allocations: 0 / 0.5574 GB, free: 15.75 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.007364, allocations: 4 kB / 0.5574 GB, free: 15.75 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.239e-05/0.007396, allocations: 4 kB / 0.5574 GB, free: 15.74 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001793/0.007575, allocations: 101.3 kB / 0.5575 GB, free: 15.61 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.406e-05/0.007659, allocations: 22.59 kB / 0.5575 GB, free: 15.58 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.978e-05/0.007689, allocations: 16.86 kB / 0.5576 GB, free: 15.56 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.007713, allocations: 0 / 0.5576 GB, free: 15.56 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.857e-05/0.007751, allocations: 30.56 kB / 0.5576 GB, free: 15.52 MB / 478.1 MB Notification: Performance of pre-optimization done (n=2): time 1.253e-06/0.007753, allocations: 0 / 0.5576 GB, free: 15.52 MB / 478.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001786/0.007931, allocations: 49.59 kB / 0.5576 GB, free: 15.47 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.639e-05/0.007988, allocations: 55.53 kB / 0.5577 GB, free: 15.4 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.127e-05/0.008079, allocations: 93.84 kB / 0.5578 GB, free: 15.3 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.008098, allocations: 29.7 kB / 0.5578 GB, free: 15.27 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.897e-05/0.008147, allocations: 80.14 kB / 0.5579 GB, free: 15.18 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.726e-05/0.008174, allocations: 3.953 kB / 0.5579 GB, free: 15.18 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.052e-05/0.008214, allocations: 17.72 kB / 0.5579 GB, free: 15.16 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.008376, allocations: 314.8 kB / 0.5582 GB, free: 14.84 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.064e-05/0.008396, allocations: 3.938 kB / 0.5582 GB, free: 14.84 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.07e-05/0.008417, allocations: 7.984 kB / 0.5582 GB, free: 14.83 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.337e-05/0.00846, allocations: 17.05 kB / 0.5582 GB, free: 14.81 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.008462, allocations: 0 / 0.5582 GB, free: 14.81 MB / 478.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.899e-05/0.008551, allocations: 37.7 kB / 0.5583 GB, free: 14.77 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.008566, allocations: 4 kB / 0.5583 GB, free: 14.76 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.008571, allocations: 0 / 0.5583 GB, free: 14.76 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.008589, allocations: 3.938 kB / 0.5583 GB, free: 14.76 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001876/0.008776, allocations: 11.98 kB / 0.5583 GB, free: 14.75 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004987/0.009275, allocations: 0.586 MB / 0.5589 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.331e-05/0.009298, allocations: 0 / 0.5589 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.009304, allocations: 8.156 kB / 0.5589 GB, free: 14.13 MB / 478.1 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.0001016/0.009406, allocations: 114.8 kB / 0.559 GB, free: 14.01 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.186e-05/0.009417, allocations: 4 kB / 0.559 GB, free: 14 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001315/0.009549, allocations: 49 kB / 0.559 GB, free: 13.95 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.009551, allocations: 0 / 0.559 GB, free: 13.95 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.009556, allocations: 0 / 0.559 GB, free: 13.95 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.009562, allocations: 3.984 kB / 0.559 GB, free: 13.95 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001119/0.009673, allocations: 105.3 kB / 0.5591 GB, free: 13.82 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.009679, allocations: 7.875 kB / 0.5591 GB, free: 13.81 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/0.009786, allocations: 12.03 kB / 0.5592 GB, free: 13.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/0.009793, allocations: 3.984 kB / 0.5592 GB, free: 13.79 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.335e-06/0.009802, allocations: 3.938 kB / 0.5592 GB, free: 13.79 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00047/0.01027, allocations: 0.5821 MB / 0.5597 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.01027, allocations: 0 / 0.5597 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001233/0.0104, allocations: 69.05 kB / 0.5598 GB, free: 13.1 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.117e-06/0.01041, allocations: 3.984 kB / 0.5598 GB, free: 13.09 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.01042, allocations: 0 / 0.5598 GB, free: 13.09 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.16e-05/0.01044, allocations: 4 kB / 0.5598 GB, free: 13.09 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.411e-05/0.01046, allocations: 4.125 kB / 0.5598 GB, free: 13.09 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.01046, allocations: 0 / 0.5598 GB, free: 13.09 MB / 478.1 MB Notification: Performance of sorting global known variables: time 5.311e-05/0.01051, allocations: 79.28 kB / 0.5599 GB, free: 13.01 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.01051, allocations: 0 / 0.5599 GB, free: 13.01 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003229/0.01084, allocations: 11.88 kB / 0.5599 GB, free: 13 MB / 478.1 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.0002243/0.01106, allocations: 115.7 kB / 0.56 GB, free: 12.88 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0002364/0.0113, allocations: 19.98 kB / 0.56 GB, free: 12.86 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.0113, allocations: 160 / 0.56 GB, free: 12.86 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001253/0.01142, allocations: 23.92 kB / 0.56 GB, free: 12.83 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002021/0.01163, allocations: 0 / 0.56 GB, free: 12.83 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004301/0.01206, allocations: 106.6 kB / 0.5601 GB, free: 12.7 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.136e-05/0.01213, allocations: 55.36 kB / 0.5602 GB, free: 12.63 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 1.726e-05/0.01214, allocations: 0 / 0.5602 GB, free: 12.63 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.384e-05/0.01217, allocations: 8.5 kB / 0.5602 GB, free: 12.62 MB / 478.1 MB Notification: Performance of SimCode: time 3.81e-07/0.01217, allocations: 4.062 kB / 0.5602 GB, free: 12.61 MB / 478.1 MB Notification: Performance of Templates: time 0.004368/0.01654, allocations: 476.9 kB / 0.5607 GB, free: 12.18 MB / 478.1 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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.139696937054396] Failed to read output from testmodel.py, exit status != 0: 0.027851011604070663 0.046989706000000006 0.037572682 Calling exit ...