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.001466/0.001466, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001663/0.001663, allocations: 215.7 kB / 23.01 MB, free: 4.566 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.335/1.335, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 179] 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.8524/0.8524, allocations: 145 MB / 458.2 MB, free: 15.54 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.002014/0.002014, allocations: 62.38 kB / 0.6344 GB, free: 6.828 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1572, allocations: 87.89 MB / 0.7202 GB, free: 14.93 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.00238/0.1596, allocations: 1.259 MB / 0.7215 GB, free: 13.66 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000988/0.1606, allocations: 0.6031 MB / 0.722 GB, free: 13.06 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.479e-05/0.1606, allocations: 0 / 0.722 GB, free: 13.06 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.427e-05/0.1606, allocations: 0 / 0.722 GB, free: 13.06 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.959e-05/0.1607, allocations: 4 kB / 0.722 GB, free: 13.05 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004642/0.1611, allocations: 147.4 kB / 0.7222 GB, free: 12.91 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.565e-05/0.1612, allocations: 11.94 kB / 0.7222 GB, free: 12.9 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.995e-05/0.1612, allocations: 3.984 kB / 0.7222 GB, free: 12.89 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.756e-05/0.1612, allocations: 4 kB / 0.7222 GB, free: 12.89 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.36e-05/0.1613, allocations: 7.938 kB / 0.7222 GB, free: 12.88 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.927e-06/0.1613, allocations: 0 / 0.7222 GB, free: 12.88 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004927/0.1618, allocations: 347.3 kB / 0.7225 GB, free: 12.54 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.026e-06/0.1618, allocations: 0 / 0.7225 GB, free: 12.54 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.601e-05/0.1618, allocations: 0 / 0.7225 GB, free: 12.54 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002321/0.162, allocations: 147.5 kB / 0.7227 GB, free: 12.4 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1621, allocations: 4 kB / 0.7227 GB, free: 12.39 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.512e-06/0.1621, allocations: 0 / 0.7227 GB, free: 12.39 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.1621, allocations: 4 kB / 0.7227 GB, free: 12.39 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.0003623/0.1624, allocations: 270.1 kB / 0.723 GB, free: 12.09 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.1625, allocations: 8.031 kB / 0.723 GB, free: 12.09 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.426e-05/0.1625, allocations: 0.9375 kB / 0.723 GB, free: 12.09 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.1626, allocations: 110.5 kB / 0.7231 GB, free: 11.95 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.1626, allocations: 384 / 0.7231 GB, free: 11.95 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.973e-06/0.1626, allocations: 4.375 kB / 0.7231 GB, free: 11.95 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.464e-05/0.1627, allocations: 38.25 kB / 0.7231 GB, free: 11.91 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.1627, allocations: 4.125 kB / 0.7231 GB, free: 11.9 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.1627, allocations: 3.938 kB / 0.7231 GB, free: 11.9 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.1627, allocations: 0 / 0.7231 GB, free: 11.9 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.317e-05/0.1627, allocations: 7.938 kB / 0.7231 GB, free: 11.89 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001488/0.1629, allocations: 128.7 kB / 0.7232 GB, free: 11.72 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.844e-05/0.1629, allocations: 18.61 kB / 0.7233 GB, free: 11.7 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.757e-05/0.163, allocations: 16.92 kB / 0.7233 GB, free: 11.68 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.163, allocations: 0 / 0.7233 GB, free: 11.68 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.163, allocations: 34.5 kB / 0.7233 GB, free: 11.63 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 6.92e-07/0.163, allocations: 0 / 0.7233 GB, free: 11.63 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0001362/0.1632, allocations: 45.56 kB / 0.7234 GB, free: 11.58 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.771e-05/0.1632, allocations: 59.41 kB / 0.7234 GB, free: 11.51 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.399e-05/0.1633, allocations: 93.98 kB / 0.7235 GB, free: 11.41 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.1633, allocations: 25.7 kB / 0.7235 GB, free: 11.38 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.332e-05/0.1633, allocations: 80.14 kB / 0.7236 GB, free: 11.3 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.312e-05/0.1633, allocations: 7.953 kB / 0.7236 GB, free: 11.29 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.96e-05/0.1634, allocations: 13.72 kB / 0.7236 GB, free: 11.27 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.1635, allocations: 318.8 kB / 0.7239 GB, free: 10.95 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.053e-05/0.1635, allocations: 0 / 0.7239 GB, free: 10.95 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.816e-06/0.1635, allocations: 4 kB / 0.7239 GB, free: 10.95 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.394e-05/0.1636, allocations: 20.98 kB / 0.7239 GB, free: 10.92 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1636, allocations: 0 / 0.7239 GB, free: 10.92 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.697e-05/0.1636, allocations: 33.7 kB / 0.724 GB, free: 10.88 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.1636, allocations: 7.984 kB / 0.724 GB, free: 10.88 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.1636, allocations: 3.938 kB / 0.724 GB, free: 10.87 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.1637, allocations: 8 kB / 0.724 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.1638, allocations: 8 kB / 0.724 GB, free: 10.86 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003781/0.1642, allocations: 0.5899 MB / 0.7246 GB, free: 10.24 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.579e-05/0.1642, allocations: 0 / 0.7246 GB, free: 10.24 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.1642, allocations: 3.984 kB / 0.7246 GB, free: 10.24 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 7.684e-05/0.1643, allocations: 109.8 kB / 0.7247 GB, free: 10.12 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.346e-06/0.1643, allocations: 4.031 kB / 0.7247 GB, free: 10.12 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.442e-05/0.1644, allocations: 45 kB / 0.7247 GB, free: 10.06 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.1644, allocations: 128 / 0.7247 GB, free: 10.06 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.1644, allocations: 4 kB / 0.7247 GB, free: 10.06 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.1644, allocations: 0 / 0.7247 GB, free: 10.06 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001039/0.1645, allocations: 128.7 kB / 0.7249 GB, free: 9.891 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.1645, allocations: 0 / 0.7249 GB, free: 9.891 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.607e-05/0.1645, allocations: 11.98 kB / 0.7249 GB, free: 9.879 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.1645, allocations: 0 / 0.7249 GB, free: 9.879 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.009e-06/0.1646, allocations: 3.938 kB / 0.7249 GB, free: 9.875 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003343/0.1649, allocations: 0.586 MB / 0.7255 GB, free: 9.266 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.1649, allocations: 3.938 kB / 0.7255 GB, free: 9.262 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.174e-05/0.165, allocations: 65.16 kB / 0.7255 GB, free: 9.18 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.969e-06/0.165, allocations: 3.938 kB / 0.7255 GB, free: 9.176 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.147e-06/0.165, allocations: 0 / 0.7255 GB, free: 9.176 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.322e-05/0.165, allocations: 0 / 0.7255 GB, free: 9.176 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.93e-05/0.165, allocations: 15.86 kB / 0.7255 GB, free: 9.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-06/0.165, allocations: 0 / 0.7255 GB, free: 9.16 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.768e-05/0.165, allocations: 83.38 kB / 0.7256 GB, free: 9.078 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.165, allocations: 0 / 0.7256 GB, free: 9.078 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001933/0.1652, allocations: 11.94 kB / 0.7256 GB, free: 9.066 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.000163/0.1654, allocations: 113.8 kB / 0.7257 GB, free: 8.945 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001504/0.1656, allocations: 15.98 kB / 0.7258 GB, free: 8.93 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.1656, allocations: 0 / 0.7258 GB, free: 8.93 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.178e-05/0.1656, allocations: 12.16 kB / 0.7258 GB, free: 8.918 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001404/0.1658, allocations: 16.58 kB / 0.7258 GB, free: 8.902 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003422/0.1661, allocations: 127.8 kB / 0.7259 GB, free: 8.746 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/0.1664, allocations: 0.6768 MB / 0.7266 GB, free: 8.043 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.476e-05/0.1664, allocations: 7.438 kB / 0.7266 GB, free: 8.035 MB / 0.545 GB Notification: Performance of SimCode: time 2.61e-07/0.1664, allocations: 0 / 0.7266 GB, free: 8.035 MB / 0.545 GB Notification: Performance of Templates: time 0.002401/0.1688, allocations: 0.7086 MB / 0.7273 GB, free: 7.332 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: 7.324429220985621] Failed to read output from testmodel.py, exit status != 0: 0.17750464286655188 0.19099163199999994 0.026058667 Calling exit ...