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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel") translateModel(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008955/0.008955, allocations: 111 kB / 15.71 MB, free: 5.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 190.2 kB / 16.64 MB, free: 5.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.548/1.548, allocations: 222.9 MB / 240.3 MB, free: 15.14 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.6.0/package.mo): time 0.8756/0.8756, allocations: 143 MB / 433.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 64.61 kB / 0.5954 GB, free: 12.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.2026, allocations: 82.03 MB / 0.6756 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.01511/0.2178, allocations: 14.44 MB / 0.6897 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00523/0.223, allocations: 3.648 MB / 0.6932 GB, free: 8.211 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005491/0.2236, allocations: 19.88 kB / 0.6932 GB, free: 8.191 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0006688/0.2243, allocations: 202.7 kB / 0.6934 GB, free: 7.992 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001573/0.226, allocations: 0.5829 MB / 0.694 GB, free: 7.406 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.227, allocations: 397.6 kB / 0.6944 GB, free: 7.023 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001418/0.2284, allocations: 1.095 MB / 0.6955 GB, free: 5.926 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004713/0.2289, allocations: 309.2 kB / 0.6957 GB, free: 5.621 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009502/0.2299, allocations: 385.9 kB / 0.6961 GB, free: 5.246 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000363/0.2302, allocations: 306.6 kB / 0.6964 GB, free: 4.945 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.242e-05/0.2303, allocations: 39.94 kB / 0.6964 GB, free: 4.906 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005472/0.2309, allocations: 255.5 kB / 0.6967 GB, free: 4.656 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.231, allocations: 99.66 kB / 0.6968 GB, free: 4.559 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002056/0.2312, allocations: 211 kB / 0.697 GB, free: 4.352 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000764/0.232, allocations: 0.6075 MB / 0.6976 GB, free: 3.742 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.232, allocations: 4 kB / 0.6976 GB, free: 3.738 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.363e-06/0.232, allocations: 0 / 0.6976 GB, free: 3.738 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.584e-06/0.232, allocations: 0 / 0.6976 GB, free: 3.738 MB / 0.5294 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.001194/0.2332, allocations: 0.7535 MB / 0.6983 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.2332, allocations: 8.031 kB / 0.6983 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001902/0.2334, allocations: 44.47 kB / 0.6984 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007086/0.2342, allocations: 467.6 kB / 0.6988 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.2342, allocations: 16.94 kB / 0.6988 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.05e-05/0.2343, allocations: 35.94 kB / 0.6989 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005655/0.2348, allocations: 314.2 kB / 0.6992 GB, free: 2 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.2349, allocations: 0 / 0.6992 GB, free: 2 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.458e-05/0.2349, allocations: 12 kB / 0.6992 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.089e-05/0.2349, allocations: 4 kB / 0.6992 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004629/0.2354, allocations: 194.1 kB / 0.6994 GB, free: 1.797 MB / 0.5294 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.001914/0.2373, allocations: 1.481 MB / 0.7008 GB, free: 192 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004698/0.2378, allocations: 162.6 kB / 0.701 GB, free: 20 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001866/0.238, allocations: 64.81 kB / 0.701 GB, free: 15.95 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001585/0.2382, allocations: 89.11 kB / 0.7011 GB, free: 15.85 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002987/0.2385, allocations: 139.2 kB / 0.7012 GB, free: 15.7 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.893e-06/0.2385, allocations: 0 / 0.7012 GB, free: 15.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0006666/0.2392, allocations: 229 kB / 0.7015 GB, free: 15.47 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.177e-05/0.2392, allocations: 59.33 kB / 0.7015 GB, free: 15.4 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003663/0.2396, allocations: 353.5 kB / 0.7019 GB, free: 15.05 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.91e-05/0.2396, allocations: 33.7 kB / 0.7019 GB, free: 15.01 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001534/0.2398, allocations: 219.7 kB / 0.7021 GB, free: 14.79 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.706e-05/0.2399, allocations: 47.3 kB / 0.7021 GB, free: 14.74 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.305e-05/0.2399, allocations: 65.53 kB / 0.7022 GB, free: 14.67 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.2401, allocations: 338.8 kB / 0.7025 GB, free: 14.33 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001946/0.2403, allocations: 67.95 kB / 0.7026 GB, free: 14.27 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002241/0.2405, allocations: 149.4 kB / 0.7027 GB, free: 14.09 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004365/0.241, allocations: 252.6 kB / 0.703 GB, free: 13.8 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.241, allocations: 0 / 0.703 GB, free: 13.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005753/0.2415, allocations: 306.7 kB / 0.7033 GB, free: 13.49 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.446e-05/0.2416, allocations: 37.69 kB / 0.7033 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.2416, allocations: 320 / 0.7033 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.2416, allocations: 8 kB / 0.7033 GB, free: 13.44 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002223/0.2419, allocations: 59.84 kB / 0.7034 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/0.2419, allocations: 7.938 kB / 0.7034 GB, free: 13.37 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002606/0.2421, allocations: 31.73 kB / 0.7034 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.507e-05/0.2422, allocations: 12 kB / 0.7034 GB, free: 13.33 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.0001712/0.2424, allocations: 162.4 kB / 0.7036 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.777e-05/0.2424, allocations: 31.62 kB / 0.7036 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004578/0.2429, allocations: 192.6 kB / 0.7038 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-06/0.2429, allocations: 3.938 kB / 0.7038 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.2429, allocations: 0 / 0.7038 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005222/0.2435, allocations: 491.6 kB / 0.7043 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004377/0.2439, allocations: 357.3 kB / 0.7046 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.2439, allocations: 0 / 0.7046 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001714/0.2441, allocations: 31.98 kB / 0.7046 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.2441, allocations: 0 / 0.7046 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.787e-05/0.2441, allocations: 7.984 kB / 0.7046 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.192e-06/0.2441, allocations: 7.938 kB / 0.7046 GB, free: 11.92 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2441, allocations: 0 / 0.7046 GB, free: 11.92 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006093/0.2448, allocations: 276.6 kB / 0.7049 GB, free: 11.63 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/0.2449, allocations: 128.7 kB / 0.705 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.725e-05/0.245, allocations: 3.984 kB / 0.705 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002293/0.2452, allocations: 19.92 kB / 0.7051 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.256e-05/0.2453, allocations: 15.98 kB / 0.7051 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.032e-05/0.2453, allocations: 7.984 kB / 0.7051 GB, free: 11.44 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000256/0.2456, allocations: 251.1 kB / 0.7053 GB, free: 11.2 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2456, allocations: 0 / 0.7053 GB, free: 11.2 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004422/0.246, allocations: 128 kB / 0.7054 GB, free: 11.07 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.0003611/0.2464, allocations: 203.1 kB / 0.7056 GB, free: 10.86 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005044/0.2469, allocations: 224.3 kB / 0.7058 GB, free: 10.63 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.2469, allocations: 4.562 kB / 0.7059 GB, free: 10.63 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001915/0.2471, allocations: 75.89 kB / 0.7059 GB, free: 10.55 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009343/0.2481, allocations: 200.6 kB / 0.7061 GB, free: 10.37 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001376/0.2494, allocations: 0.7385 MB / 0.7068 GB, free: 9.605 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003195/0.2498, allocations: 0.7957 MB / 0.7076 GB, free: 8.785 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002269/0.25, allocations: 71.12 kB / 0.7077 GB, free: 8.715 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.786e-05/0.2501, allocations: 35.42 kB / 0.7077 GB, free: 8.68 MB / 0.545 GB Notification: Performance of SimCode: time 3.91e-07/0.2501, allocations: 0 / 0.7077 GB, free: 8.68 MB / 0.545 GB Notification: Performance of Templates: time 0.01191/0.262, allocations: 7.213 MB / 0.7148 GB, free: 1.574 MB / 0.545 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.makefile (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)