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.001428/0.001428, allocations: 110.1 kB / 19.59 MB, free: 2.211 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.001622/0.001622, allocations: 220.1 kB / 22.88 MB, free: 4.582 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.344/1.344, allocations: 230.5 MB / 256.5 MB, free: 8.047 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.857/0.857, allocations: 144.9 MB / 457.8 MB, free: 15.57 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.0019/0.0019, allocations: 68.14 kB / 0.6339 GB, free: 6.941 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1497, allocations: 87.87 MB / 0.7198 GB, free: 15.07 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002583/0.1523, allocations: 1.275 MB / 0.721 GB, free: 13.79 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001021/0.1533, allocations: 0.5993 MB / 0.7216 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.284e-05/0.1533, allocations: 0 / 0.7216 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.881e-05/0.1533, allocations: 0 / 0.7216 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.408e-05/0.1534, allocations: 7.938 kB / 0.7216 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000557/0.1539, allocations: 146.4 kB / 0.7217 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.306e-05/0.154, allocations: 7.938 kB / 0.7217 GB, free: 13.03 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.856e-05/0.154, allocations: 0 / 0.7217 GB, free: 13.03 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.602e-05/0.154, allocations: 4 kB / 0.7217 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.234e-05/0.1541, allocations: 11.94 kB / 0.7218 GB, free: 13.01 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.1541, allocations: 7.984 kB / 0.7218 GB, free: 13 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000421/0.1545, allocations: 275.5 kB / 0.722 GB, free: 12.73 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.432e-05/0.1545, allocations: 4 kB / 0.722 GB, free: 12.73 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.827e-05/0.1545, allocations: 4 kB / 0.722 GB, free: 12.73 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000234/0.1548, allocations: 135.5 kB / 0.7222 GB, free: 12.59 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.1548, allocations: 4 kB / 0.7222 GB, free: 12.59 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1548, allocations: 0 / 0.7222 GB, free: 12.59 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.1548, allocations: 0 / 0.7222 GB, free: 12.59 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.0003637/0.1551, allocations: 270 kB / 0.7224 GB, free: 12.29 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.042e-05/0.1552, allocations: 15.97 kB / 0.7224 GB, free: 12.28 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.09e-05/0.1552, allocations: 4.938 kB / 0.7224 GB, free: 12.27 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.718e-05/0.1553, allocations: 106.5 kB / 0.7225 GB, free: 12.14 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.1553, allocations: 384 / 0.7225 GB, free: 12.14 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.826e-06/0.1553, allocations: 4.375 kB / 0.7226 GB, free: 12.14 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.205e-05/0.1554, allocations: 30.27 kB / 0.7226 GB, free: 12.11 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-06/0.1554, allocations: 192 / 0.7226 GB, free: 12.11 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.1554, allocations: 3.938 kB / 0.7226 GB, free: 12.1 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.1554, allocations: 4 kB / 0.7226 GB, free: 12.1 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.386e-05/0.1554, allocations: 7.938 kB / 0.7226 GB, free: 12.09 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001548/0.1556, allocations: 128.7 kB / 0.7227 GB, free: 11.92 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.944e-05/0.1557, allocations: 18.61 kB / 0.7227 GB, free: 11.89 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.121e-05/0.1557, allocations: 12.92 kB / 0.7227 GB, free: 11.88 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.1557, allocations: 0 / 0.7227 GB, free: 11.88 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.085e-05/0.1557, allocations: 34.55 kB / 0.7228 GB, free: 11.84 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 6.71e-07/0.1557, allocations: 4 kB / 0.7228 GB, free: 11.83 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0001356/0.1559, allocations: 49.58 kB / 0.7228 GB, free: 11.78 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.1559, allocations: 51.41 kB / 0.7229 GB, free: 11.71 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.02e-05/0.156, allocations: 97.8 kB / 0.723 GB, free: 11.61 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.156, allocations: 25.7 kB / 0.723 GB, free: 11.58 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.8e-05/0.156, allocations: 84.12 kB / 0.7231 GB, free: 11.49 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.293e-05/0.156, allocations: 3.953 kB / 0.7231 GB, free: 11.49 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.932e-05/0.1561, allocations: 17.97 kB / 0.7231 GB, free: 11.46 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.1562, allocations: 314.8 kB / 0.7234 GB, free: 11.15 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.046e-05/0.1562, allocations: 0 / 0.7234 GB, free: 11.15 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.768e-06/0.1562, allocations: 4 kB / 0.7234 GB, free: 11.14 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.842e-05/0.1562, allocations: 12.86 kB / 0.7234 GB, free: 11.13 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.1562, allocations: 0 / 0.7234 GB, free: 11.13 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.455e-05/0.1563, allocations: 41.62 kB / 0.7235 GB, free: 11.08 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.1563, allocations: 8 kB / 0.7235 GB, free: 11.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.1563, allocations: 8.031 kB / 0.7235 GB, free: 11.07 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.1563, allocations: 0 / 0.7235 GB, free: 11.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.1565, allocations: 11.98 kB / 0.7235 GB, free: 11.05 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003819/0.1569, allocations: 0.5821 MB / 0.7241 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.877e-05/0.1569, allocations: 0 / 0.7241 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.1569, allocations: 0 / 0.7241 GB, free: 10.45 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.765e-05/0.157, allocations: 117.9 kB / 0.7242 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.873e-06/0.157, allocations: 0 / 0.7242 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001066/0.1571, allocations: 52.88 kB / 0.7242 GB, free: 10.26 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.1571, allocations: 0 / 0.7242 GB, free: 10.26 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.1571, allocations: 0 / 0.7242 GB, free: 10.26 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.1571, allocations: 3.984 kB / 0.7242 GB, free: 10.26 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001028/0.1572, allocations: 132.6 kB / 0.7243 GB, free: 10.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.1572, allocations: 4 kB / 0.7244 GB, free: 10.08 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.701e-05/0.1573, allocations: 8 kB / 0.7244 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.1573, allocations: 4.031 kB / 0.7244 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.1573, allocations: 3.984 kB / 0.7244 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003325/0.1576, allocations: 0.586 MB / 0.7249 GB, free: 9.457 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.1576, allocations: 3.938 kB / 0.7249 GB, free: 9.453 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.049e-05/0.1577, allocations: 57.14 kB / 0.725 GB, free: 9.379 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.344e-06/0.1577, allocations: 8.109 kB / 0.725 GB, free: 9.371 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.123e-05/0.1577, allocations: 4 kB / 0.725 GB, free: 9.367 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.383e-05/0.1577, allocations: 0 / 0.725 GB, free: 9.367 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.191e-05/0.1578, allocations: 3.938 kB / 0.725 GB, free: 9.363 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-06/0.1578, allocations: 3.938 kB / 0.725 GB, free: 9.359 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.359e-05/0.1578, allocations: 83.28 kB / 0.7251 GB, free: 9.277 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1578, allocations: 0 / 0.7251 GB, free: 9.277 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002101/0.158, allocations: 7.938 kB / 0.7251 GB, free: 9.27 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.0001516/0.1582, allocations: 115.3 kB / 0.7252 GB, free: 9.145 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001624/0.1583, allocations: 19.92 kB / 0.7252 GB, free: 9.125 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1583, allocations: 0 / 0.7252 GB, free: 9.125 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.17e-05/0.1584, allocations: 19.98 kB / 0.7252 GB, free: 9.105 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001275/0.1585, allocations: 0.6094 kB / 0.7253 GB, free: 9.105 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003212/0.1589, allocations: 136 kB / 0.7254 GB, free: 8.941 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.779e-05/0.1589, allocations: 55.36 kB / 0.7254 GB, free: 8.867 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.57e-05/0.1589, allocations: 11.44 kB / 0.7254 GB, free: 8.855 MB / 0.545 GB Notification: Performance of SimCode: time 3.51e-07/0.1589, allocations: 0 / 0.7254 GB, free: 8.855 MB / 0.545 GB Notification: Performance of Templates: time 0.002364/0.1613, allocations: 0.7056 MB / 0.7261 GB, free: 8.152 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.235425252001733] Failed to read output from testmodel.py, exit status != 0: 0.16892529602046125 0.18260040000000002 0.024935601 Calling exit ...