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.001346/0.001346, allocations: 109 kB / 20.45 MB, free: 1.52 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.001456/0.001456, allocations: 211.1 kB / 23.76 MB, free: 4.746 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.483/1.483, allocations: 230.6 MB / 257.5 MB, free: 8.016 MB / 206.1 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 0.9613/0.9613, allocations: 150 MB / 463.9 MB, free: 10.46 MB / 366.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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 67.14 kB / 0.6425 GB, free: 9.855 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.1756, allocations: 89.17 MB / 0.7296 GB, free: 0.75 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002307/0.1779, allocations: 1.267 MB / 0.7308 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001037/0.179, allocations: 0.5877 MB / 0.7314 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.095e-05/0.179, allocations: 4 kB / 0.7314 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.946e-05/0.179, allocations: 0 / 0.7314 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.698e-05/0.179, allocations: 0 / 0.7314 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004933/0.1795, allocations: 143.4 kB / 0.7315 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.866e-05/0.1796, allocations: 11.92 kB / 0.7315 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.019e-05/0.1796, allocations: 0 / 0.7315 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.729e-05/0.1796, allocations: 8 kB / 0.7315 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.353e-05/0.1797, allocations: 3.938 kB / 0.7315 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.357e-05/0.1797, allocations: 4 kB / 0.7316 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005348/0.1802, allocations: 347.3 kB / 0.7319 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.967e-06/0.1802, allocations: 0 / 0.7319 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.704e-05/0.1803, allocations: 0 / 0.7319 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002496/0.1805, allocations: 147.5 kB / 0.732 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.1805, allocations: 0 / 0.732 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1805, allocations: 0 / 0.732 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.628e-06/0.1805, allocations: 0 / 0.732 GB, free: 14.23 MB / 0.5606 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.0003887/0.1809, allocations: 278 kB / 0.7323 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.1809, allocations: 12.03 kB / 0.7323 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.724e-05/0.181, allocations: 4.891 kB / 0.7323 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.1811, allocations: 102.5 kB / 0.7324 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.1811, allocations: 4.375 kB / 0.7324 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.1811, allocations: 384 / 0.7324 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.888e-05/0.1812, allocations: 41.62 kB / 0.7324 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.1812, allocations: 0 / 0.7324 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.722e-06/0.1812, allocations: 0 / 0.7324 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.496e-06/0.1812, allocations: 4 kB / 0.7325 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.708e-05/0.1812, allocations: 11.94 kB / 0.7325 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001545/0.1814, allocations: 124.7 kB / 0.7326 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.486e-05/0.1814, allocations: 22.58 kB / 0.7326 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.85e-05/0.1815, allocations: 8.844 kB / 0.7326 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.1815, allocations: 3.938 kB / 0.7326 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.1815, allocations: 38.62 kB / 0.7327 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.1815, allocations: 3.938 kB / 0.7327 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0001324/0.1816, allocations: 45.62 kB / 0.7327 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.721e-05/0.1817, allocations: 51.41 kB / 0.7327 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.482e-05/0.1818, allocations: 97.86 kB / 0.7328 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.1818, allocations: 25.7 kB / 0.7329 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.575e-05/0.1818, allocations: 80.14 kB / 0.7329 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.295e-05/0.1819, allocations: 8.188 kB / 0.7329 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.061e-05/0.1819, allocations: 21.7 kB / 0.733 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.182, allocations: 314.8 kB / 0.7333 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.324e-05/0.182, allocations: 4 kB / 0.7333 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.883e-06/0.182, allocations: 0 / 0.7333 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.76e-05/0.1821, allocations: 12.86 kB / 0.7333 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1821, allocations: 3.938 kB / 0.7333 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.719e-05/0.1821, allocations: 45.62 kB / 0.7333 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.1822, allocations: 8.094 kB / 0.7333 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.1822, allocations: 0 / 0.7333 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.1822, allocations: 0 / 0.7333 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.1823, allocations: 8 kB / 0.7333 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004051/0.1827, allocations: 0.5821 MB / 0.7339 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.98e-05/0.1827, allocations: 3.953 kB / 0.7339 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-06/0.1827, allocations: 7.969 kB / 0.7339 GB, free: 12.07 MB / 0.5606 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 8.763e-05/0.1828, allocations: 118.5 kB / 0.734 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.643e-06/0.1828, allocations: 0 / 0.734 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.936e-05/0.1829, allocations: 48.98 kB / 0.7341 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.1829, allocations: 4 kB / 0.7341 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.1829, allocations: 0 / 0.7341 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.1829, allocations: 0 / 0.7341 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.856e-05/0.183, allocations: 124.7 kB / 0.7342 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.183, allocations: 0 / 0.7342 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.706e-05/0.1831, allocations: 12.03 kB / 0.7342 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1831, allocations: 0 / 0.7342 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.12e-06/0.1831, allocations: 0 / 0.7342 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003523/0.1835, allocations: 0.5898 MB / 0.7348 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.1835, allocations: 3.984 kB / 0.7348 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.325e-05/0.1836, allocations: 61.27 kB / 0.7349 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.799e-06/0.1836, allocations: 4 kB / 0.7349 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.15e-05/0.1836, allocations: 7.875 kB / 0.7349 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.38e-05/0.1836, allocations: 3.938 kB / 0.7349 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.618e-05/0.1836, allocations: 3.984 kB / 0.7349 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.1836, allocations: 8 kB / 0.7349 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.908e-05/0.1837, allocations: 75.28 kB / 0.735 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.1837, allocations: 3.938 kB / 0.735 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001894/0.1838, allocations: 12.06 kB / 0.735 GB, free: 10.89 MB / 0.5606 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.000148/0.184, allocations: 115.2 kB / 0.7351 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001673/0.1842, allocations: 19.98 kB / 0.7351 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.174e-06/0.1842, allocations: 0 / 0.7351 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.556e-05/0.1843, allocations: 15.98 kB / 0.7351 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001317/0.1844, allocations: 0 / 0.7351 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000326/0.1847, allocations: 135.9 kB / 0.7352 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/0.185, allocations: 0.6768 MB / 0.7359 GB, free: 9.863 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.654e-05/0.185, allocations: 7.438 kB / 0.7359 GB, free: 9.855 MB / 0.5606 GB Notification: Performance of SimCode: time 3.31e-07/0.185, allocations: 0 / 0.7359 GB, free: 9.855 MB / 0.5606 GB Notification: Performance of Templates: time 0.002409/0.1874, allocations: 0.6946 MB / 0.7366 GB, free: 9.164 MB / 0.5606 GB " [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: 8.265909676905721] Failed to read output from testmodel.py, exit status != 0: 0.19581001391634345 0.20939471 0.025912673 Calling exit ...