Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 191.7 kB / 22.23 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00242/0.00242, allocations: 286.8 kB / 306.5 MB, free: 8.34 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.201/1.201, allocations: 180.9 MB / 0.53 GB, free: 14.35 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002841/0.002841, allocations: 99.33 kB / 0.7308 GB, free: 38.5 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1902/0.1931, allocations: 94.21 MB / 0.8228 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002425/0.1955, allocations: 1.254 MB / 0.8241 GB, free: 464 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001075/0.1966, allocations: 0.5934 MB / 0.8246 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.688e-05/0.1966, allocations: 0 / 0.8246 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.597e-05/0.1966, allocations: 0 / 0.8246 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.466e-05/0.1967, allocations: 11.92 kB / 0.8246 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005002/0.1972, allocations: 143.3 kB / 0.8248 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.235e-05/0.1972, allocations: 4 kB / 0.8248 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.387e-05/0.1973, allocations: 4 kB / 0.8248 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.978e-05/0.1973, allocations: 4 kB / 0.8248 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.469e-05/0.1973, allocations: 7.984 kB / 0.8248 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.062e-05/0.1973, allocations: 0 / 0.8248 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005418/0.1979, allocations: 343.3 kB / 0.8251 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.16e-05/0.1979, allocations: 4 kB / 0.8251 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.971e-05/0.1979, allocations: 7.938 kB / 0.8251 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000266/0.1982, allocations: 139.6 kB / 0.8253 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.1982, allocations: 3.938 kB / 0.8253 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1982, allocations: 4 kB / 0.8253 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.1982, allocations: 0 / 0.8253 GB, free: 15.2 MB / 0.5762 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.0003917/0.1986, allocations: 282 kB / 0.8256 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.1986, allocations: 8.031 kB / 0.8256 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.61e-05/0.1986, allocations: 0.9375 kB / 0.8256 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.1987, allocations: 114.5 kB / 0.8257 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.1988, allocations: 384 / 0.8257 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.223e-05/0.1988, allocations: 4.312 kB / 0.8257 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.874e-05/0.1989, allocations: 30.27 kB / 0.8257 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.1989, allocations: 192 / 0.8257 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.1989, allocations: 3.938 kB / 0.8257 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.1989, allocations: 0 / 0.8257 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.791e-05/0.1989, allocations: 11.98 kB / 0.8257 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001615/0.1991, allocations: 120.8 kB / 0.8258 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.362e-05/0.1991, allocations: 22.61 kB / 0.8259 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.595e-05/0.1991, allocations: 16.84 kB / 0.8259 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.865e-05/0.1992, allocations: 0 / 0.8259 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.1992, allocations: 30.56 kB / 0.8259 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 7.72e-07/0.1992, allocations: 4 kB / 0.8259 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0001424/0.1993, allocations: 41.64 kB / 0.8259 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.1994, allocations: 59.34 kB / 0.826 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.128e-05/0.1994, allocations: 93.84 kB / 0.8261 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.1995, allocations: 25.7 kB / 0.8261 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.772e-05/0.1995, allocations: 84.14 kB / 0.8262 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.356e-05/0.1995, allocations: 7.953 kB / 0.8262 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.002e-05/0.1996, allocations: 9.969 kB / 0.8262 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.1997, allocations: 318.8 kB / 0.8265 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.319e-05/0.1997, allocations: 3.938 kB / 0.8265 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.077e-05/0.1997, allocations: 7.984 kB / 0.8265 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.169e-05/0.1998, allocations: 16.8 kB / 0.8265 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1998, allocations: 0 / 0.8265 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.243e-05/0.1998, allocations: 41.66 kB / 0.8266 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.1998, allocations: 4 kB / 0.8266 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.1998, allocations: 12.03 kB / 0.8266 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.1998, allocations: 0 / 0.8266 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001491/0.2, allocations: 11.98 kB / 0.8266 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004071/0.2004, allocations: 0.5821 MB / 0.8272 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.72e-05/0.2004, allocations: 0 / 0.8272 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.2004, allocations: 0 / 0.8272 GB, free: 13.04 MB / 0.5762 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 9.186e-05/0.2005, allocations: 117.9 kB / 0.8273 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.636e-06/0.2005, allocations: 3.984 kB / 0.8273 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001028/0.2006, allocations: 48.94 kB / 0.8273 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.2006, allocations: 3.938 kB / 0.8273 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.2006, allocations: 0 / 0.8273 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.2006, allocations: 0 / 0.8273 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000111/0.2007, allocations: 128.7 kB / 0.8275 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.2007, allocations: 4 kB / 0.8275 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.464e-05/0.2008, allocations: 11.98 kB / 0.8275 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2008, allocations: 4.031 kB / 0.8275 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-06/0.2008, allocations: 0 / 0.8275 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003556/0.2012, allocations: 0.5782 MB / 0.8281 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.2012, allocations: 7.969 kB / 0.8281 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.709e-05/0.2013, allocations: 69.11 kB / 0.8281 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.049e-06/0.2013, allocations: 4.031 kB / 0.8281 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.979e-06/0.2013, allocations: 0 / 0.8281 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.654e-05/0.2013, allocations: 4 kB / 0.8281 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.41e-05/0.2013, allocations: 7.938 kB / 0.8281 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-06/0.2013, allocations: 3.938 kB / 0.8281 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.667e-05/0.2014, allocations: 75.28 kB / 0.8282 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.2014, allocations: 0 / 0.8282 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002021/0.2016, allocations: 8 kB / 0.8282 GB, free: 11.87 MB / 0.5762 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.0001742/0.2017, allocations: 115.9 kB / 0.8283 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00016/0.2019, allocations: 15.98 kB / 0.8283 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.2019, allocations: 7.938 kB / 0.8284 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.779e-05/0.202, allocations: 19.92 kB / 0.8284 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001358/0.2021, allocations: 2.344 kB / 0.8284 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003251/0.2025, allocations: 106.4 kB / 0.8285 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/0.2028, allocations: 0.6766 MB / 0.8291 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 1.536e-05/0.2028, allocations: 3.984 kB / 0.8291 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.437e-05/0.2028, allocations: 7.438 kB / 0.8292 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of SimCode: time 2.71e-07/0.2028, allocations: 0 / 0.8292 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of Templates: time 0.002883/0.2057, allocations: 486.7 kB / 0.8296 GB, free: 10.42 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.90870860312134] Failed to read output from testmodel.py, exit status != 0: 0.21329481340944767 0.228500213 0.027344878000000003 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f7a4368d7b0>