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.0007969/0.0007969, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.0008644/0.0008644, allocations: 165.9 kB / 23.96 MB, free: 0.5977 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 0.8826/0.8826, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 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.5447/0.5447, allocations: 114 MB / 374.7 MB, free: 8.699 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 1.212e-06/1.212e-06, allocations: 0 / 0.5554 GB, free: 1.191 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.795e-05/1.917e-05, allocations: 5.672 kB / 0.5554 GB, free: 1.188 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001419/0.001438, allocations: 1.263 MB / 0.5566 GB, free: 15.92 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005921/0.00203, allocations: 0.5176 MB / 0.5572 GB, free: 15.4 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.95e-05/0.002049, allocations: 0 / 0.5572 GB, free: 15.4 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.684e-05/0.002066, allocations: 3.984 kB / 0.5572 GB, free: 15.39 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.436e-05/0.0021, allocations: 3.938 kB / 0.5572 GB, free: 15.39 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003489/0.002449, allocations: 139.3 kB / 0.5573 GB, free: 15.25 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.344e-05/0.002493, allocations: 11.92 kB / 0.5573 GB, free: 15.24 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.639e-05/0.002529, allocations: 0 / 0.5573 GB, free: 15.24 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.001e-05/0.002559, allocations: 11.92 kB / 0.5573 GB, free: 15.23 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.894e-05/0.002598, allocations: 11.98 kB / 0.5573 GB, free: 15.22 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.107e-05/0.002609, allocations: 0 / 0.5573 GB, free: 15.22 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002527/0.002862, allocations: 259.4 kB / 0.5576 GB, free: 14.96 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.269e-05/0.002875, allocations: 7.938 kB / 0.5576 GB, free: 14.96 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.344e-05/0.002888, allocations: 4 kB / 0.5576 GB, free: 14.95 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001717/0.00306, allocations: 147.5 kB / 0.5577 GB, free: 14.81 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.533e-06/0.003061, allocations: 4 kB / 0.5577 GB, free: 14.8 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.003062, allocations: 4 kB / 0.5577 GB, free: 14.8 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.226e-06/0.003065, allocations: 0 / 0.5577 GB, free: 14.8 MB / 490.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.0002712/0.003336, allocations: 270 kB / 0.558 GB, free: 14.51 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.003368, allocations: 8.031 kB / 0.558 GB, free: 14.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.31e-05/0.003392, allocations: 0.9375 kB / 0.558 GB, free: 14.5 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.536e-05/0.003457, allocations: 113.8 kB / 0.5581 GB, free: 14.36 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-06/0.003466, allocations: 4.312 kB / 0.5581 GB, free: 14.36 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.953e-06/0.003473, allocations: 384 / 0.5581 GB, free: 14.36 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.929e-05/0.003542, allocations: 34.27 kB / 0.5581 GB, free: 14.32 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.652e-06/0.003549, allocations: 7.875 kB / 0.5582 GB, free: 14.31 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.003556, allocations: 0 / 0.5582 GB, free: 14.31 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.00356, allocations: 0 / 0.5582 GB, free: 14.31 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.934e-05/0.003579, allocations: 4 kB / 0.5582 GB, free: 14.31 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.631e-05/0.003676, allocations: 105.3 kB / 0.5583 GB, free: 14.18 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.989e-05/0.003715, allocations: 18.61 kB / 0.5583 GB, free: 14.15 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.532e-05/0.003731, allocations: 16.86 kB / 0.5583 GB, free: 14.13 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.003751, allocations: 0 / 0.5583 GB, free: 14.13 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.79e-05/0.003769, allocations: 30.56 kB / 0.5583 GB, free: 14.09 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 6.21e-07/0.00377, allocations: 4 kB / 0.5583 GB, free: 14.09 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001107/0.00388, allocations: 53.58 kB / 0.5584 GB, free: 14.03 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.455e-05/0.003905, allocations: 51.41 kB / 0.5584 GB, free: 13.96 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.423e-05/0.003949, allocations: 93.86 kB / 0.5585 GB, free: 13.86 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.464e-06/0.003957, allocations: 25.7 kB / 0.5585 GB, free: 13.83 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.93e-05/0.003976, allocations: 80.14 kB / 0.5586 GB, free: 13.75 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.024e-05/0.003996, allocations: 3.953 kB / 0.5586 GB, free: 13.75 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.171e-05/0.004018, allocations: 21.7 kB / 0.5586 GB, free: 13.72 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.428e-05/0.004082, allocations: 310.8 kB / 0.5589 GB, free: 13.41 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.148e-06/0.004091, allocations: 8.188 kB / 0.5589 GB, free: 13.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.25e-06/0.004097, allocations: 7.938 kB / 0.559 GB, free: 13.39 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.217e-05/0.004119, allocations: 16.86 kB / 0.559 GB, free: 13.37 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.00412, allocations: 0 / 0.559 GB, free: 13.37 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.563e-05/0.004156, allocations: 37.69 kB / 0.559 GB, free: 13.33 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.518e-06/0.004165, allocations: 5.562 kB / 0.559 GB, free: 13.32 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.004169, allocations: 0 / 0.559 GB, free: 13.32 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.00418, allocations: 3.938 kB / 0.559 GB, free: 13.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.004289, allocations: 8 kB / 0.559 GB, free: 13.31 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002333/0.004522, allocations: 0.5978 MB / 0.5596 GB, free: 12.69 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.148e-05/0.004534, allocations: 7.984 kB / 0.5596 GB, free: 12.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.988e-06/0.004538, allocations: 0 / 0.5596 GB, free: 12.68 MB / 490.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 4.712e-05/0.004585, allocations: 109.8 kB / 0.5597 GB, free: 12.57 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.566e-06/0.004589, allocations: 4.031 kB / 0.5597 GB, free: 12.56 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.867e-05/0.004657, allocations: 45 kB / 0.5598 GB, free: 12.52 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.004659, allocations: 0 / 0.5598 GB, free: 12.52 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.004664, allocations: 0 / 0.5598 GB, free: 12.52 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.004667, allocations: 3.938 kB / 0.5598 GB, free: 12.51 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.999e-05/0.004717, allocations: 105.5 kB / 0.5599 GB, free: 12.38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.004719, allocations: 3.938 kB / 0.5599 GB, free: 12.38 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.958e-05/0.004758, allocations: 11.98 kB / 0.5599 GB, free: 12.36 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.00476, allocations: 0 / 0.5599 GB, free: 12.36 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.538e-06/0.004764, allocations: 0 / 0.5599 GB, free: 12.36 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001653/0.00493, allocations: 0.586 MB / 0.5605 GB, free: 11.75 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.00493, allocations: 3.938 kB / 0.5605 GB, free: 11.75 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.067e-05/0.004971, allocations: 69 kB / 0.5605 GB, free: 11.66 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.541e-06/0.004976, allocations: 4 kB / 0.5605 GB, free: 11.66 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.053e-06/0.004983, allocations: 4.125 kB / 0.5605 GB, free: 11.66 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.651e-06/0.004989, allocations: 0 / 0.5605 GB, free: 11.66 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.083e-05/0.005, allocations: 0 / 0.5605 GB, free: 11.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-06/0.005001, allocations: 0 / 0.5605 GB, free: 11.66 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.094e-05/0.005022, allocations: 83.27 kB / 0.5606 GB, free: 11.57 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005022, allocations: 0 / 0.5606 GB, free: 11.57 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.000125/0.005147, allocations: 15.88 kB / 0.5606 GB, free: 11.56 MB / 490.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.0001003/0.005248, allocations: 111.2 kB / 0.5607 GB, free: 11.44 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 9.218e-05/0.00534, allocations: 24.03 kB / 0.5608 GB, free: 11.42 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.005341, allocations: 0 / 0.5608 GB, free: 11.42 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.067e-05/0.005372, allocations: 19.92 kB / 0.5608 GB, free: 11.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.597e-05/0.005468, allocations: 0 / 0.5608 GB, free: 11.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002337/0.005702, allocations: 130.5 kB / 0.5609 GB, free: 11.24 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.108e-05/0.005733, allocations: 59.34 kB / 0.561 GB, free: 11.16 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.141e-05/0.005744, allocations: 8.5 kB / 0.561 GB, free: 11.15 MB / 490.7 MB Notification: Performance of SimCode: time 3.91e-07/0.005744, allocations: 4.125 kB / 0.561 GB, free: 11.14 MB / 490.7 MB Notification: Performance of Templates: time 0.00167/0.007414, allocations: 0.7091 MB / 0.5617 GB, free: 10.44 MB / 490.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=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.087595524266362] Failed to read output from testmodel.py, exit status != 0: 0.011545606888830662 0.018481505000000002 0.013784574 Calling exit ...