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.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.001526/0.001526, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001659/0.001659, allocations: 217.1 kB / 22.99 MB, free: 4.945 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.4/1.4, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.8774/0.8774, allocations: 145 MB / 458.2 MB, free: 15.25 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.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: 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.003196/0.003196, allocations: 66.09 kB / 0.6343 GB, free: 6.199 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.169, allocations: 87.89 MB / 0.7201 GB, free: 14.32 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.01652/0.1855, allocations: 13.46 MB / 0.7333 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005451/0.191, allocations: 3.4 MB / 0.7366 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004331/0.1914, allocations: 27.75 kB / 0.7366 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000646/0.1921, allocations: 194.8 kB / 0.7368 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001513/0.1936, allocations: 0.6298 MB / 0.7374 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009261/0.1945, allocations: 405.8 kB / 0.7378 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001401/0.1959, allocations: 1.106 MB / 0.7389 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004317/0.1963, allocations: 252.9 kB / 0.7391 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001052/0.1974, allocations: 415.3 kB / 0.7395 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004496/0.1978, allocations: 306.6 kB / 0.7398 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.937e-05/0.1979, allocations: 32 kB / 0.7398 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004983/0.1984, allocations: 223.5 kB / 0.7401 GB, free: 9.816 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001232/0.1985, allocations: 99.55 kB / 0.7402 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002186/0.1987, allocations: 175.2 kB / 0.7403 GB, free: 9.547 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0008656/0.1996, allocations: 0.6343 MB / 0.7409 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1996, allocations: 0 / 0.7409 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1996, allocations: 0 / 0.7409 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.195e-06/0.1996, allocations: 4 kB / 0.7409 GB, free: 8.906 MB / 0.5606 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.00122/0.2008, allocations: 0.6816 MB / 0.7416 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.2009, allocations: 8.031 kB / 0.7416 GB, free: 8.176 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001885/0.2011, allocations: 48.7 kB / 0.7417 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007975/0.2019, allocations: 412.7 kB / 0.7421 GB, free: 7.703 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.231e-05/0.2019, allocations: 24.81 kB / 0.7421 GB, free: 7.68 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.952e-05/0.2019, allocations: 27.94 kB / 0.7421 GB, free: 7.652 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000639/0.2026, allocations: 420 kB / 0.7425 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.2026, allocations: 0 / 0.7425 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.495e-05/0.2026, allocations: 12 kB / 0.7425 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.874e-05/0.2027, allocations: 4 kB / 0.7425 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004706/0.2031, allocations: 193.8 kB / 0.7427 GB, free: 6.992 MB / 0.5606 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.001694/0.2048, allocations: 1.1 MB / 0.7438 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004327/0.2053, allocations: 150.6 kB / 0.7439 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001653/0.2054, allocations: 57.08 kB / 0.744 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001069/0.2055, allocations: 15.98 kB / 0.744 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003564/0.2059, allocations: 234.1 kB / 0.7442 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 1.613e-06/0.2059, allocations: 0 / 0.7442 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.0006387/0.2065, allocations: 232.3 kB / 0.7444 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.088e-05/0.2066, allocations: 55.41 kB / 0.7445 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003782/0.207, allocations: 336.4 kB / 0.7448 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.062e-05/0.207, allocations: 29.7 kB / 0.7448 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001727/0.2072, allocations: 220.4 kB / 0.7451 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.53e-05/0.2072, allocations: 59.52 kB / 0.7451 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.345e-05/0.2073, allocations: 57.66 kB / 0.7452 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.2075, allocations: 338.8 kB / 0.7455 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002054/0.2077, allocations: 97.64 kB / 0.7456 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002719/0.2079, allocations: 180.8 kB / 0.7458 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004451/0.2084, allocations: 242.9 kB / 0.746 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.2084, allocations: 4 kB / 0.746 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006207/0.209, allocations: 342.3 kB / 0.7463 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.925e-05/0.2091, allocations: 33.7 kB / 0.7463 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.2091, allocations: 3.938 kB / 0.7463 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.2091, allocations: 4 kB / 0.7464 GB, free: 3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002366/0.2093, allocations: 67.89 kB / 0.7464 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.2093, allocations: 7.938 kB / 0.7464 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002302/0.2096, allocations: 32.08 kB / 0.7465 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.241e-05/0.2096, allocations: 12 kB / 0.7465 GB, free: 2.883 MB / 0.5606 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.0001739/0.2098, allocations: 157.8 kB / 0.7466 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.897e-05/0.2098, allocations: 31.81 kB / 0.7466 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004596/0.2103, allocations: 192.4 kB / 0.7468 GB, free: 2.492 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.2103, allocations: 0 / 0.7468 GB, free: 2.492 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.2103, allocations: 3.938 kB / 0.7468 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005762/0.2109, allocations: 495.6 kB / 0.7473 GB, free: 1.918 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003644/0.2112, allocations: 245.1 kB / 0.7475 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.2112, allocations: 0 / 0.7475 GB, free: 1.648 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000165/0.2114, allocations: 31.97 kB / 0.7476 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.2114, allocations: 0 / 0.7476 GB, free: 1.617 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/0.2114, allocations: 8 kB / 0.7476 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.2114, allocations: 0 / 0.7476 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2114, allocations: 0 / 0.7476 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006228/0.212, allocations: 296.6 kB / 0.7479 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001198/0.2122, allocations: 47.77 kB / 0.7479 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.046e-05/0.2122, allocations: 0 / 0.7479 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002065/0.2124, allocations: 15.98 kB / 0.7479 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.163e-05/0.2125, allocations: 20.06 kB / 0.7479 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.368e-05/0.2125, allocations: 15.91 kB / 0.748 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002435/0.2127, allocations: 227.1 kB / 0.7482 GB, free: 0.9844 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2127, allocations: 0 / 0.7482 GB, free: 0.9844 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004249/0.2132, allocations: 131.6 kB / 0.7483 GB, free: 0.8555 MB / 0.5606 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.0003148/0.2135, allocations: 195 kB / 0.7485 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005232/0.214, allocations: 259.4 kB / 0.7487 GB, free: 396 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.214, allocations: 0 / 0.7487 GB, free: 396 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001714/0.2142, allocations: 64.58 kB / 0.7488 GB, free: 332 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008865/0.2151, allocations: 210.5 kB / 0.749 GB, free: 132 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3059/0.521, allocations: 0.7418 MB / 0.7497 GB, free: 31.25 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001524/0.5211, allocations: 186.2 kB / 0.7499 GB, free: 31.18 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.5212, allocations: 40.23 kB / 0.7499 GB, free: 31.17 MB / 0.5606 GB Notification: Performance of SimCode: time 1.212e-06/0.5212, allocations: 0 / 0.7499 GB, free: 31.17 MB / 0.5606 GB Notification: Performance of Templates: time 0.0119/0.5331, allocations: 6.192 MB / 0.756 GB, free: 30.59 MB / 0.5606 GB " [Timeout remaining time 659] 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: 8.894720423035324] Failed to read output from testmodel.py, exit status != 0: 0.5446262490004301 0.5545471080000001 0.352190922 Calling exit ...