Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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.001303/0.001303, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001417/0.001417, allocations: 216.4 kB / 22.25 MB, free: 4.855 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.394/1.394, allocations: 230.6 MB / 256 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.902/0.902, allocations: 145 MB / 457.4 MB, free: 15.75 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") [Timeout 660] "Notification: BuildSysPro 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.002026/0.002026, allocations: 70.61 kB / 0.6336 GB, free: 6.57 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1758/0.1778, allocations: 87.88 MB / 0.7194 GB, free: 14.69 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.00244/0.1803, allocations: 1.259 MB / 0.7206 GB, free: 13.42 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001052/0.1813, allocations: 0.5293 MB / 0.7211 GB, free: 12.89 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.276e-05/0.1814, allocations: 0 / 0.7211 GB, free: 12.89 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.587e-05/0.1814, allocations: 3.938 kB / 0.7211 GB, free: 12.88 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.098e-05/0.1814, allocations: 0 / 0.7211 GB, free: 12.88 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005304/0.1819, allocations: 151.3 kB / 0.7213 GB, free: 12.73 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.917e-05/0.182, allocations: 19.92 kB / 0.7213 GB, free: 12.71 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.762e-05/0.182, allocations: 0 / 0.7213 GB, free: 12.71 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.419e-05/0.182, allocations: 7.984 kB / 0.7213 GB, free: 12.71 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.02e-05/0.1821, allocations: 0 / 0.7213 GB, free: 12.71 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.048e-05/0.1821, allocations: 0 / 0.7213 GB, free: 12.71 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004377/0.1825, allocations: 267.5 kB / 0.7216 GB, free: 12.45 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.555e-05/0.1826, allocations: 7.922 kB / 0.7216 GB, free: 12.44 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.682e-05/0.1826, allocations: 0 / 0.7216 GB, free: 12.44 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002402/0.1828, allocations: 135.5 kB / 0.7217 GB, free: 12.3 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1828, allocations: 0 / 0.7217 GB, free: 12.3 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1828, allocations: 8 kB / 0.7217 GB, free: 12.3 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.1828, allocations: 0 / 0.7217 GB, free: 12.3 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.0004526/0.1833, allocations: 270.1 kB / 0.722 GB, free: 12 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.1833, allocations: 8.031 kB / 0.722 GB, free: 11.99 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.798e-05/0.1834, allocations: 4.938 kB / 0.722 GB, free: 11.99 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.1835, allocations: 110.5 kB / 0.7221 GB, free: 11.86 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.1835, allocations: 384 / 0.7221 GB, free: 11.86 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.113e-06/0.1835, allocations: 384 / 0.7221 GB, free: 11.86 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.153e-05/0.1836, allocations: 38.25 kB / 0.7221 GB, free: 11.81 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.1836, allocations: 192 / 0.7221 GB, free: 11.81 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.1836, allocations: 11.88 kB / 0.7221 GB, free: 11.8 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.1836, allocations: 4 kB / 0.7221 GB, free: 11.8 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.281e-05/0.1836, allocations: 0 / 0.7221 GB, free: 11.8 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001567/0.1838, allocations: 101.3 kB / 0.7222 GB, free: 11.67 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.822e-05/0.1838, allocations: 30.58 kB / 0.7223 GB, free: 11.63 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.123e-05/0.1839, allocations: 8.922 kB / 0.7223 GB, free: 11.62 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.1839, allocations: 0 / 0.7223 GB, free: 11.62 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.1839, allocations: 30.56 kB / 0.7223 GB, free: 11.58 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 7.21e-07/0.1839, allocations: 4 kB / 0.7223 GB, free: 11.57 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0001605/0.1841, allocations: 53.56 kB / 0.7224 GB, free: 11.52 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.038e-05/0.1841, allocations: 51.41 kB / 0.7224 GB, free: 11.45 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.724e-05/0.1842, allocations: 97.86 kB / 0.7225 GB, free: 11.35 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.1842, allocations: 25.7 kB / 0.7225 GB, free: 11.32 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.942e-05/0.1843, allocations: 80.14 kB / 0.7226 GB, free: 11.23 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.253e-05/0.1843, allocations: 3.953 kB / 0.7226 GB, free: 11.23 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.073e-05/0.1843, allocations: 13.72 kB / 0.7226 GB, free: 11.21 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.1845, allocations: 318.8 kB / 0.7229 GB, free: 10.89 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.439e-05/0.1845, allocations: 4 kB / 0.7229 GB, free: 10.89 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.697e-06/0.1845, allocations: 4.188 kB / 0.7229 GB, free: 10.88 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.395e-05/0.1846, allocations: 20.86 kB / 0.7229 GB, free: 10.86 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1846, allocations: 0 / 0.7229 GB, free: 10.86 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.62e-05/0.1846, allocations: 41.64 kB / 0.723 GB, free: 10.81 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.1847, allocations: 4 kB / 0.723 GB, free: 10.81 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.1847, allocations: 0 / 0.723 GB, free: 10.81 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.1847, allocations: 7.922 kB / 0.723 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/0.1848, allocations: 8 kB / 0.723 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000436/0.1853, allocations: 0.586 MB / 0.7236 GB, free: 10.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.712e-05/0.1853, allocations: 128 / 0.7236 GB, free: 10.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.1853, allocations: 4 kB / 0.7236 GB, free: 10.18 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 9.547e-05/0.1854, allocations: 122.4 kB / 0.7237 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.442e-06/0.1854, allocations: 0 / 0.7237 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/0.1855, allocations: 41.02 kB / 0.7237 GB, free: 10 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.1855, allocations: 3.984 kB / 0.7237 GB, free: 9.996 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.1855, allocations: 0 / 0.7237 GB, free: 9.996 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.1855, allocations: 0 / 0.7237 GB, free: 9.996 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.729e-05/0.1856, allocations: 101.3 kB / 0.7238 GB, free: 9.867 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.1856, allocations: 3.969 kB / 0.7238 GB, free: 9.863 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.179e-05/0.1857, allocations: 15.98 kB / 0.7239 GB, free: 9.848 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1857, allocations: 0 / 0.7239 GB, free: 9.848 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.57e-06/0.1857, allocations: 0 / 0.7239 GB, free: 9.848 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003633/0.186, allocations: 0.586 MB / 0.7244 GB, free: 9.238 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.186, allocations: 0 / 0.7244 GB, free: 9.238 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.958e-05/0.1861, allocations: 69.09 kB / 0.7245 GB, free: 9.152 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.288e-06/0.1861, allocations: 8 kB / 0.7245 GB, free: 9.145 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.458e-06/0.1861, allocations: 0 / 0.7245 GB, free: 9.145 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.352e-05/0.1861, allocations: 128 / 0.7245 GB, free: 9.145 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.052e-05/0.1862, allocations: 4 kB / 0.7245 GB, free: 9.141 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.1862, allocations: 3.938 kB / 0.7245 GB, free: 9.137 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.905e-05/0.1862, allocations: 79.28 kB / 0.7246 GB, free: 9.059 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.1862, allocations: 0 / 0.7246 GB, free: 9.059 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001936/0.1864, allocations: 15.88 kB / 0.7246 GB, free: 9.043 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.0001686/0.1866, allocations: 115.1 kB / 0.7247 GB, free: 8.918 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00016/0.1867, allocations: 27.92 kB / 0.7247 GB, free: 8.891 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1867, allocations: 4.156 kB / 0.7247 GB, free: 8.887 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.045e-05/0.1868, allocations: 11.98 kB / 0.7248 GB, free: 8.875 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001302/0.1869, allocations: 2.641 kB / 0.7248 GB, free: 8.875 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003324/0.1873, allocations: 118 kB / 0.7249 GB, free: 8.734 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.855e-05/0.1873, allocations: 59.34 kB / 0.7249 GB, free: 8.656 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.342e-05/0.1873, allocations: 0 / 0.7249 GB, free: 8.656 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.49e-05/0.1873, allocations: 7.438 kB / 0.7249 GB, free: 8.648 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.1873, allocations: 4.062 kB / 0.7249 GB, free: 8.645 MB / 0.545 GB Notification: Performance of Templates: time 0.002729/0.1901, allocations: 481.5 kB / 0.7254 GB, free: 8.215 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.4066474717110395] Failed to read output from testmodel.py, exit status != 0: 0.1985297743231058 0.21256365400000002 0.026815416 Calling exit ...