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.001529/0.001529, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001676/0.001676, allocations: 221.5 kB / 23.01 MB, free: 4.605 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.405/1.405, allocations: 230.6 MB / 256.8 MB, free: 8.098 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.873/0.873, allocations: 145 MB / 458.2 MB, free: 15.55 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.002143/0.002143, allocations: 76.12 kB / 0.6344 GB, free: 6.898 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1632, allocations: 87.89 MB / 0.7202 GB, free: 15.02 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.01894/0.1822, allocations: 14.77 MB / 0.7346 GB, free: 184 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005759/0.1879, allocations: 3.667 MB / 0.7382 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006117/0.1885, allocations: 23.81 kB / 0.7382 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007932/0.1893, allocations: 218.6 kB / 0.7384 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001796/0.1911, allocations: 0.6298 MB / 0.7391 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001075/0.1922, allocations: 417.1 kB / 0.7395 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00169/0.1939, allocations: 1.122 MB / 0.7405 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000549/0.1944, allocations: 253 kB / 0.7408 GB, free: 9.844 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001229/0.1957, allocations: 406.9 kB / 0.7412 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005891/0.1963, allocations: 330.5 kB / 0.7415 GB, free: 9.125 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.13e-05/0.1963, allocations: 39.98 kB / 0.7415 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006597/0.197, allocations: 283.5 kB / 0.7418 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001401/0.1971, allocations: 99.59 kB / 0.7419 GB, free: 8.711 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000288/0.1974, allocations: 214.9 kB / 0.7421 GB, free: 8.5 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001075/0.1985, allocations: 0.6344 MB / 0.7427 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1985, allocations: 0 / 0.7427 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1985, allocations: 0 / 0.7427 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.745e-05/0.1985, allocations: 4 kB / 0.7427 GB, free: 7.859 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.001373/0.1999, allocations: 0.6893 MB / 0.7434 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.1999, allocations: 8.031 kB / 0.7434 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002109/0.2001, allocations: 44.7 kB / 0.7434 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000808/0.2009, allocations: 412.6 kB / 0.7438 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.772e-05/0.201, allocations: 20.88 kB / 0.7439 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.983e-05/0.201, allocations: 27.94 kB / 0.7439 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005822/0.2016, allocations: 313.3 kB / 0.7442 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/0.2016, allocations: 3.984 kB / 0.7442 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.321e-05/0.2017, allocations: 15.94 kB / 0.7442 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.837e-05/0.2017, allocations: 8 kB / 0.7442 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004686/0.2022, allocations: 197.8 kB / 0.7444 GB, free: 6.059 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.00197/0.2041, allocations: 1.421 MB / 0.7458 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004366/0.2046, allocations: 146.6 kB / 0.7459 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001698/0.2047, allocations: 68.75 kB / 0.746 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.743e-05/0.2048, allocations: 12 kB / 0.746 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002886/0.2051, allocations: 135.2 kB / 0.7461 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 1.453e-06/0.2051, allocations: 0 / 0.7461 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.0006226/0.2057, allocations: 229.4 kB / 0.7464 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.2058, allocations: 59.33 kB / 0.7464 GB, free: 3.844 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004011/0.2062, allocations: 357.5 kB / 0.7468 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.293e-05/0.2062, allocations: 33.69 kB / 0.7468 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001882/0.2064, allocations: 212.1 kB / 0.747 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.006e-05/0.2065, allocations: 59.52 kB / 0.747 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.249e-05/0.2066, allocations: 53.7 kB / 0.7471 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.2067, allocations: 342.8 kB / 0.7474 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001911/0.2069, allocations: 71.95 kB / 0.7475 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002497/0.2072, allocations: 139.1 kB / 0.7476 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004348/0.2076, allocations: 253.2 kB / 0.7479 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.2076, allocations: 4 kB / 0.7479 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006167/0.2082, allocations: 315 kB / 0.7482 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.732e-05/0.2083, allocations: 33.7 kB / 0.7482 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.2083, allocations: 3.938 kB / 0.7482 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.2083, allocations: 4 kB / 0.7482 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002195/0.2085, allocations: 63.84 kB / 0.7483 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.387e-05/0.2085, allocations: 11.97 kB / 0.7483 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002378/0.2087, allocations: 31.83 kB / 0.7483 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.637e-05/0.2088, allocations: 16.09 kB / 0.7483 GB, free: 1.762 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.0001709/0.2089, allocations: 161.8 kB / 0.7485 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.036e-05/0.209, allocations: 39.73 kB / 0.7485 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004478/0.2095, allocations: 191.4 kB / 0.7487 GB, free: 1.363 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.2095, allocations: 7.938 kB / 0.7487 GB, free: 1.355 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.2095, allocations: 0 / 0.7487 GB, free: 1.355 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005135/0.21, allocations: 483.8 kB / 0.7492 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004429/0.2104, allocations: 328.4 kB / 0.7495 GB, free: 444 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.2104, allocations: 0 / 0.7495 GB, free: 444 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001559/0.2106, allocations: 31.92 kB / 0.7495 GB, free: 412 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.636e-06/0.2106, allocations: 0 / 0.7495 GB, free: 412 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.032e-05/0.2106, allocations: 8 kB / 0.7495 GB, free: 404 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/0.2106, allocations: 3.938 kB / 0.7495 GB, free: 400 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.2106, allocations: 3.984 kB / 0.7495 GB, free: 396 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006081/0.2112, allocations: 284.7 kB / 0.7498 GB, free: 92 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/0.2113, allocations: 47.83 kB / 0.7498 GB, free: 44 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.846e-05/0.2114, allocations: 4 kB / 0.7498 GB, free: 40 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002168/0.2116, allocations: 27.84 kB / 0.7499 GB, free: 12 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.2945/0.5061, allocations: 13.42 kB / 0.7499 GB, free: 32.12 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.142e-05/0.5062, allocations: 8.938 kB / 0.7499 GB, free: 32.12 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002853/0.5065, allocations: 249.6 kB / 0.7501 GB, free: 32.04 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.5065, allocations: 0.5938 kB / 0.7501 GB, free: 32.04 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005896/0.507, allocations: 128.8 kB / 0.7503 GB, free: 32.04 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.0002777/0.5073, allocations: 184.3 kB / 0.7504 GB, free: 31.95 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004433/0.5078, allocations: 221.8 kB / 0.7506 GB, free: 31.88 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.5078, allocations: 3.562 kB / 0.7506 GB, free: 31.88 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001543/0.5079, allocations: 62.77 kB / 0.7507 GB, free: 31.88 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008106/0.5087, allocations: 213.7 kB / 0.7509 GB, free: 31.88 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.5099, allocations: 0.7775 MB / 0.7517 GB, free: 31.52 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002148/0.5101, allocations: 0.7848 MB / 0.7524 GB, free: 30.82 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.284e-05/0.5102, allocations: 35.89 kB / 0.7525 GB, free: 30.82 MB / 0.5606 GB Notification: Performance of SimCode: time 3.51e-07/0.5102, allocations: 0 / 0.7525 GB, free: 30.82 MB / 0.5606 GB Notification: Performance of Templates: time 0.01072/0.5209, allocations: 6.267 MB / 0.7586 GB, free: 30.14 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.815856094937772] Failed to read output from testmodel.py, exit status != 0: 0.5295895389281213 0.541433005 0.34040365599999994 Calling exit ...