Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001582/0.001582, allocations: 117.8 kB / 17.13 MB, free: 5.758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001763/0.001763, allocations: 194.1 kB / 20.08 MB, free: 2.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.519/1.519, allocations: 225.6 MB / 248.5 MB, free: 3.629 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.6.0-master/package.mo): time 0.9242/0.9242, allocations: 145.2 MB / 448.6 MB, free: 13.8 MB / 350.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel") translateModel(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 71.5 kB / 0.6211 GB, free: 34.86 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.16, allocations: 86.63 MB / 0.7057 GB, free: 2.727 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.01705/0.177, allocations: 14.55 MB / 0.7199 GB, free: 4.109 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005909/0.183, allocations: 3.644 MB / 0.7235 GB, free: 460 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005231/0.1835, allocations: 19.88 kB / 0.7235 GB, free: 440 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0007146/0.1842, allocations: 210.7 kB / 0.7237 GB, free: 228 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001643/0.1858, allocations: 0.6181 MB / 0.7243 GB, free: 15.6 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001018/0.1869, allocations: 396.1 kB / 0.7247 GB, free: 15.22 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001487/0.1883, allocations: 1.091 MB / 0.7257 GB, free: 14.12 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004511/0.1888, allocations: 276.5 kB / 0.726 GB, free: 13.85 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001045/0.1898, allocations: 392.9 kB / 0.7264 GB, free: 13.47 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000475/0.1903, allocations: 330.5 kB / 0.7267 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.26e-05/0.1904, allocations: 32 kB / 0.7267 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006447/0.191, allocations: 267.5 kB / 0.727 GB, free: 12.85 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001298/0.1911, allocations: 95.67 kB / 0.7271 GB, free: 12.76 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002366/0.1914, allocations: 214.9 kB / 0.7273 GB, free: 12.55 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009735/0.1924, allocations: 0.6189 MB / 0.7279 GB, free: 11.93 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1924, allocations: 0 / 0.7279 GB, free: 11.93 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.254e-06/0.1924, allocations: 0 / 0.7279 GB, free: 11.93 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.497e-06/0.1924, allocations: 0 / 0.7279 GB, free: 11.93 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001328/0.1937, allocations: 0.753 MB / 0.7286 GB, free: 11.11 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.1937, allocations: 12.03 kB / 0.7286 GB, free: 11.1 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002006/0.1939, allocations: 48.66 kB / 0.7287 GB, free: 11.05 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00078/0.1947, allocations: 475.9 kB / 0.7291 GB, free: 10.55 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.774e-05/0.1947, allocations: 20.94 kB / 0.7291 GB, free: 10.53 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.569e-05/0.1948, allocations: 27.94 kB / 0.7292 GB, free: 10.5 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006281/0.1954, allocations: 310.2 kB / 0.7295 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.1955, allocations: 4 kB / 0.7295 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.362e-05/0.1955, allocations: 12 kB / 0.7295 GB, free: 10.17 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.095e-05/0.1955, allocations: 12 kB / 0.7295 GB, free: 10.16 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004886/0.196, allocations: 194.1 kB / 0.7297 GB, free: 9.969 MB / 0.545 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001953/0.1979, allocations: 1.49 MB / 0.7311 GB, free: 8.352 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004549/0.1984, allocations: 146.6 kB / 0.7313 GB, free: 8.199 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001878/0.1986, allocations: 64.81 kB / 0.7313 GB, free: 8.133 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001399/0.1987, allocations: 85.11 kB / 0.7314 GB, free: 8.031 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003139/0.199, allocations: 131.2 kB / 0.7315 GB, free: 7.891 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.904e-06/0.199, allocations: 3.938 kB / 0.7315 GB, free: 7.887 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0006937/0.1997, allocations: 236.3 kB / 0.7318 GB, free: 7.652 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.625e-05/0.1998, allocations: 63.28 kB / 0.7318 GB, free: 7.578 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003863/0.2002, allocations: 345.7 kB / 0.7321 GB, free: 7.23 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.33e-05/0.2002, allocations: 29.7 kB / 0.7322 GB, free: 7.195 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000171/0.2004, allocations: 216.1 kB / 0.7324 GB, free: 6.98 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.49e-05/0.2004, allocations: 55.53 kB / 0.7324 GB, free: 6.926 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.452e-05/0.2005, allocations: 61.66 kB / 0.7325 GB, free: 6.859 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.2007, allocations: 342.8 kB / 0.7328 GB, free: 6.516 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002022/0.2009, allocations: 67.95 kB / 0.7329 GB, free: 6.449 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002532/0.2011, allocations: 154.5 kB / 0.733 GB, free: 6.266 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004474/0.2016, allocations: 244.5 kB / 0.7333 GB, free: 5.988 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.2016, allocations: 0 / 0.7333 GB, free: 5.988 MB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000622/0.2022, allocations: 308.9 kB / 0.7336 GB, free: 5.676 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.309e-05/0.2023, allocations: 37.7 kB / 0.7336 GB, free: 5.633 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.2023, allocations: 4 kB / 0.7336 GB, free: 5.629 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.2023, allocations: 4 kB / 0.7336 GB, free: 5.625 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002401/0.2025, allocations: 59.83 kB / 0.7337 GB, free: 5.566 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.2025, allocations: 4.312 kB / 0.7337 GB, free: 5.562 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002564/0.2028, allocations: 39.77 kB / 0.7337 GB, free: 5.523 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.885e-05/0.2028, allocations: 16 kB / 0.7337 GB, free: 5.508 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001802/0.203, allocations: 157.8 kB / 0.7339 GB, free: 5.344 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.059e-05/0.2031, allocations: 35.77 kB / 0.7339 GB, free: 5.309 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005139/0.2036, allocations: 200.4 kB / 0.7341 GB, free: 5.105 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.451e-06/0.2036, allocations: 7.938 kB / 0.7341 GB, free: 5.098 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.2036, allocations: 0 / 0.7341 GB, free: 5.098 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005915/0.2042, allocations: 479.8 kB / 0.7346 GB, free: 4.543 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005237/0.2047, allocations: 349.4 kB / 0.7349 GB, free: 4.152 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.2047, allocations: 0 / 0.7349 GB, free: 4.152 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000167/0.2049, allocations: 27.98 kB / 0.7349 GB, free: 4.125 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.732e-06/0.2049, allocations: 7.938 kB / 0.7349 GB, free: 4.117 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.2049, allocations: 4 kB / 0.7349 GB, free: 4.113 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.873e-06/0.2049, allocations: 7.938 kB / 0.7349 GB, free: 4.105 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2049, allocations: 7.938 kB / 0.7349 GB, free: 4.098 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006674/0.2056, allocations: 286.4 kB / 0.7352 GB, free: 3.801 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000162/0.2057, allocations: 124.9 kB / 0.7353 GB, free: 3.66 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.803e-05/0.2058, allocations: 4 kB / 0.7353 GB, free: 3.656 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002419/0.206, allocations: 27.91 kB / 0.7354 GB, free: 3.629 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.884e-05/0.2061, allocations: 11.98 kB / 0.7354 GB, free: 3.617 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.492e-05/0.2061, allocations: 11.98 kB / 0.7354 GB, free: 3.605 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000306/0.2064, allocations: 247.2 kB / 0.7356 GB, free: 3.367 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2064, allocations: 0 / 0.7356 GB, free: 3.367 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004799/0.2069, allocations: 123.7 kB / 0.7357 GB, free: 3.246 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (expVes.m,expVes.H,vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004347/0.2074, allocations: 203 kB / 0.7359 GB, free: 3.035 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005407/0.2079, allocations: 219.2 kB / 0.7361 GB, free: 2.809 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.2079, allocations: 4 kB / 0.7362 GB, free: 2.805 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000194/0.2081, allocations: 67.89 kB / 0.7362 GB, free: 2.738 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000963/0.2091, allocations: 207.6 kB / 0.7364 GB, free: 2.547 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001532/0.2106, allocations: 0.7747 MB / 0.7372 GB, free: 1.742 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004376/0.211, allocations: 0.7879 MB / 0.7379 GB, free: 0.9297 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.643e-05/0.2111, allocations: 35.44 kB / 0.738 GB, free: 0.8945 MB / 0.545 GB Notification: Performance of SimCode: time 8.11e-07/0.2111, allocations: 0 / 0.738 GB, free: 0.8945 MB / 0.545 GB Notification: Performance of Templates: time 0.01002/0.2211, allocations: 6.298 MB / 0.7441 GB, free: 10.66 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.396939821075648] Failed to read output from testmodel.py, exit status != 0: 0.22864827909506857 0.24241951599999995 0.047097488999999944 Calling exit ...