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.001362/0.001362, allocations: 76.2 kB / 20.51 MB, free: 1.117 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.001536/0.001536, allocations: 162.9 kB / 23.76 MB, free: 4.199 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.476/1.476, allocations: 177.2 MB / 204.1 MB, free: 8.977 MB / 190.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.9275/0.9275, allocations: 113.9 MB / 374.5 MB, free: 12.92 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: 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.002349/0.002349, allocations: 66.81 kB / 0.555 GB, free: 2.773 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1804, allocations: 89.16 MB / 0.6421 GB, free: 9.574 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002777/0.1832, allocations: 1.244 MB / 0.6433 GB, free: 8.32 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001075/0.1843, allocations: 0.5141 MB / 0.6438 GB, free: 7.805 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.81e-05/0.1843, allocations: 7.938 kB / 0.6438 GB, free: 7.797 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.252e-05/0.1843, allocations: 3.938 kB / 0.6438 GB, free: 7.793 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.88e-05/0.1844, allocations: 0 / 0.6438 GB, free: 7.793 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006697/0.1851, allocations: 139.4 kB / 0.644 GB, free: 7.656 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.481e-05/0.1851, allocations: 15.94 kB / 0.644 GB, free: 7.641 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.868e-05/0.1852, allocations: 3.984 kB / 0.644 GB, free: 7.637 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.111e-05/0.1852, allocations: 4 kB / 0.644 GB, free: 7.633 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.263e-05/0.1852, allocations: 0 / 0.644 GB, free: 7.633 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.167e-05/0.1852, allocations: 0 / 0.644 GB, free: 7.633 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005171/0.1857, allocations: 275.5 kB / 0.6442 GB, free: 7.363 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.472e-05/0.1858, allocations: 3.938 kB / 0.6442 GB, free: 7.359 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.858e-05/0.1858, allocations: 4 kB / 0.6442 GB, free: 7.355 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002802/0.1861, allocations: 127.6 kB / 0.6444 GB, free: 7.23 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1861, allocations: 0 / 0.6444 GB, free: 7.23 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1861, allocations: 0 / 0.6444 GB, free: 7.23 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.782e-06/0.1861, allocations: 7.922 kB / 0.6444 GB, free: 7.223 MB / 0.545 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.0004318/0.1865, allocations: 276.6 kB / 0.6446 GB, free: 6.926 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.1865, allocations: 12.03 kB / 0.6447 GB, free: 6.914 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.946e-05/0.1866, allocations: 8.875 kB / 0.6447 GB, free: 6.906 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.1867, allocations: 114.5 kB / 0.6448 GB, free: 6.77 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.634e-06/0.1867, allocations: 384 / 0.6448 GB, free: 6.77 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.1867, allocations: 384 / 0.6448 GB, free: 6.77 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.295e-05/0.1868, allocations: 45.56 kB / 0.6448 GB, free: 6.719 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.1868, allocations: 0 / 0.6448 GB, free: 6.719 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.913e-06/0.1868, allocations: 0 / 0.6448 GB, free: 6.719 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.1868, allocations: 0 / 0.6448 GB, free: 6.719 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.412e-05/0.1868, allocations: 4 kB / 0.6448 GB, free: 6.715 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001424/0.187, allocations: 101.4 kB / 0.6449 GB, free: 6.586 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.315e-05/0.187, allocations: 18.58 kB / 0.6449 GB, free: 6.559 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.805e-05/0.1871, allocations: 8.859 kB / 0.6449 GB, free: 6.547 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.1871, allocations: 8.047 kB / 0.6449 GB, free: 6.539 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.1871, allocations: 42.44 kB / 0.645 GB, free: 6.488 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.1871, allocations: 0 / 0.645 GB, free: 6.488 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0001431/0.1872, allocations: 33.7 kB / 0.645 GB, free: 6.449 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.1873, allocations: 55.41 kB / 0.6451 GB, free: 6.383 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.842e-05/0.1874, allocations: 97.84 kB / 0.6452 GB, free: 6.277 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.1874, allocations: 25.7 kB / 0.6452 GB, free: 6.246 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.716e-05/0.1874, allocations: 84.14 kB / 0.6453 GB, free: 6.16 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.708e-05/0.1874, allocations: 12.19 kB / 0.6453 GB, free: 6.148 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.181e-05/0.1875, allocations: 17.72 kB / 0.6453 GB, free: 6.125 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.1876, allocations: 310.8 kB / 0.6456 GB, free: 5.812 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.153e-05/0.1876, allocations: 3.938 kB / 0.6456 GB, free: 5.809 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.417e-06/0.1876, allocations: 4 kB / 0.6456 GB, free: 5.805 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.392e-05/0.1877, allocations: 20.78 kB / 0.6456 GB, free: 5.781 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1877, allocations: 0 / 0.6456 GB, free: 5.781 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.546e-05/0.1877, allocations: 41.64 kB / 0.6457 GB, free: 5.734 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.1877, allocations: 11.94 kB / 0.6457 GB, free: 5.723 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.1878, allocations: 4.094 kB / 0.6457 GB, free: 5.719 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.1878, allocations: 0 / 0.6457 GB, free: 5.719 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001601/0.1879, allocations: 11.98 kB / 0.6457 GB, free: 5.707 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004453/0.1884, allocations: 0.5821 MB / 0.6463 GB, free: 5.102 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.268e-05/0.1884, allocations: 3.953 kB / 0.6463 GB, free: 5.098 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.1884, allocations: 4.031 kB / 0.6463 GB, free: 5.094 MB / 0.545 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.415e-05/0.1885, allocations: 117.1 kB / 0.6464 GB, free: 4.973 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.404e-06/0.1885, allocations: 0 / 0.6464 GB, free: 4.973 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001186/0.1886, allocations: 49.09 kB / 0.6464 GB, free: 4.918 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.1886, allocations: 4 kB / 0.6464 GB, free: 4.914 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1886, allocations: 0 / 0.6464 GB, free: 4.914 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1886, allocations: 0 / 0.6464 GB, free: 4.914 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.543e-05/0.1887, allocations: 105.2 kB / 0.6465 GB, free: 4.781 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1887, allocations: 0 / 0.6465 GB, free: 4.781 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.68e-05/0.1888, allocations: 8 kB / 0.6465 GB, free: 4.773 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.1888, allocations: 3.938 kB / 0.6465 GB, free: 4.77 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.571e-06/0.1888, allocations: 0 / 0.6465 GB, free: 4.77 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003929/0.1892, allocations: 0.5861 MB / 0.6471 GB, free: 4.16 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.501e-06/0.1892, allocations: 8 kB / 0.6471 GB, free: 4.152 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.907e-05/0.1893, allocations: 61.17 kB / 0.6472 GB, free: 4.074 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.102e-06/0.1893, allocations: 0 / 0.6472 GB, free: 4.074 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/0.1893, allocations: 3.984 kB / 0.6472 GB, free: 4.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.618e-05/0.1893, allocations: 7.938 kB / 0.6472 GB, free: 4.062 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.683e-05/0.1893, allocations: 3.938 kB / 0.6472 GB, free: 4.059 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/0.1893, allocations: 0 / 0.6472 GB, free: 4.059 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.608e-05/0.1894, allocations: 79.28 kB / 0.6473 GB, free: 3.98 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1894, allocations: 0 / 0.6473 GB, free: 3.98 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001976/0.1896, allocations: 8.062 kB / 0.6473 GB, free: 3.973 MB / 0.545 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.0001609/0.1898, allocations: 115.2 kB / 0.6474 GB, free: 3.848 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001642/0.1899, allocations: 19.98 kB / 0.6474 GB, free: 3.828 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1899, allocations: 0 / 0.6474 GB, free: 3.828 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.126e-05/0.19, allocations: 15.92 kB / 0.6474 GB, free: 3.812 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001416/0.1902, allocations: 7.5 kB / 0.6474 GB, free: 3.809 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003614/0.1905, allocations: 122 kB / 0.6475 GB, free: 3.66 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.162e-05/0.1906, allocations: 55.36 kB / 0.6476 GB, free: 3.586 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.411e-05/0.1906, allocations: 0 / 0.6476 GB, free: 3.586 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.894e-05/0.1906, allocations: 12.5 kB / 0.6476 GB, free: 3.574 MB / 0.545 GB Notification: Performance of SimCode: time 3.91e-07/0.1906, allocations: 0 / 0.6476 GB, free: 3.574 MB / 0.545 GB Notification: Performance of Templates: time 0.00298/0.1936, allocations: 481.7 kB / 0.6481 GB, free: 3.113 MB / 0.545 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 -s ida -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.534582650987431] Failed to read output from testmodel.py, exit status != 0: 0.2031323170522228 0.21757283100000002 0.028400368000000002 Calling exit ...