Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel") translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.708/1.708, allocations: 288.4 MB / 304.3 MB, free: 8.098 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009156/0.0009157, allocations: 178.1 kB / 372.9 MB, free: 10.16 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.311/1.311, allocations: 205.4 MB / 0.6316 GB, free: 9.949 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008034/0.0008035, allocations: 88.25 kB / 0.745 GB, free: 5.852 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003398/0.0003398, allocations: 12.16 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1788/0.1792, allocations: 115.3 MB / 0.9807 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01353/0.1928, allocations: 13.19 MB / 0.9936 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.005093/0.1979, allocations: 3.377 MB / 0.9969 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004964/0.1984, allocations: 15.88 kB / 0.9969 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000584/0.199, allocations: 143.1 kB / 0.9971 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001443/0.2005, allocations: 0.5053 MB / 0.9976 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009829/0.2015, allocations: 302.5 kB / 0.9978 GB, free: 9.793 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001347/0.2029, allocations: 1.236 MB / 0.9991 GB, free: 8.555 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000398/0.2033, allocations: 263.8 kB / 0.9993 GB, free: 8.293 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004183/0.2037, allocations: 310.7 kB / 0.9996 GB, free: 7.988 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00035/0.2041, allocations: 282.7 kB / 0.9999 GB, free: 7.711 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.351e-05/0.2041, allocations: 12 kB / 0.9999 GB, free: 7.699 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000531/0.2047, allocations: 223.5 kB / 1 GB, free: 7.48 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.74e-05/0.2048, allocations: 75.67 kB / 1 GB, free: 7.406 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001989/0.205, allocations: 204.8 kB / 1 GB, free: 7.199 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005184/0.2055, allocations: 438.9 kB / 1.001 GB, free: 6.77 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2055, allocations: 0 / 1.001 GB, free: 6.77 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.943e-06/0.2055, allocations: 0 / 1.001 GB, free: 6.77 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.2055, allocations: 4 kB / 1.001 GB, free: 6.766 MB / 0.6198 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.001091/0.2066, allocations: 0.6718 MB / 1.001 GB, free: 6.039 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/0.2067, allocations: 8.031 kB / 1.001 GB, free: 6.031 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002243/0.2069, allocations: 44.47 kB / 1.001 GB, free: 5.988 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008118/0.2078, allocations: 475.1 kB / 1.002 GB, free: 5.484 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.968e-05/0.2078, allocations: 24.69 kB / 1.002 GB, free: 5.461 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.13e-05/0.2079, allocations: 27.98 kB / 1.002 GB, free: 5.434 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006751/0.2086, allocations: 314.2 kB / 1.002 GB, free: 5.105 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/0.2086, allocations: 4 kB / 1.002 GB, free: 5.102 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.841e-05/0.2086, allocations: 8 kB / 1.002 GB, free: 5.094 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.265e-05/0.2087, allocations: 8 kB / 1.002 GB, free: 5.086 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005966/0.2093, allocations: 202.1 kB / 1.003 GB, free: 4.887 MB / 0.6198 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.001919/0.2112, allocations: 1.489 MB / 1.004 GB, free: 3.27 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005312/0.2118, allocations: 166.6 kB / 1.004 GB, free: 3.098 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002201/0.212, allocations: 68.83 kB / 1.004 GB, free: 3.027 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001653/0.2122, allocations: 89.09 kB / 1.004 GB, free: 2.922 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003381/0.2125, allocations: 135.3 kB / 1.004 GB, free: 2.777 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 2.895e-06/0.2125, allocations: 0 / 1.004 GB, free: 2.777 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.000787/0.2133, allocations: 245.9 kB / 1.005 GB, free: 2.531 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.403e-05/0.2134, allocations: 59.41 kB / 1.005 GB, free: 2.461 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003829/0.2138, allocations: 337.5 kB / 1.005 GB, free: 2.121 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.802e-05/0.2138, allocations: 25.7 kB / 1.005 GB, free: 2.09 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001431/0.214, allocations: 219.8 kB / 1.005 GB, free: 1.871 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.173e-05/0.214, allocations: 47.3 kB / 1.005 GB, free: 1.824 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.525e-05/0.2141, allocations: 8 kB / 1.005 GB, free: 1.816 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.529e-05/0.2141, allocations: 346.7 kB / 1.006 GB, free: 1.469 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002461/0.2144, allocations: 75.95 kB / 1.006 GB, free: 1.395 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002701/0.2147, allocations: 161.8 kB / 1.006 GB, free: 1.203 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004913/0.2152, allocations: 253.4 kB / 1.006 GB, free: 0.918 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.2152, allocations: 0 / 1.006 GB, free: 0.918 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007157/0.2159, allocations: 318.6 kB / 1.006 GB, free: 0.5938 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.308e-05/0.216, allocations: 43.67 kB / 1.006 GB, free: 0.5469 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.216, allocations: 4 kB / 1.006 GB, free: 0.543 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.216, allocations: 4 kB / 1.006 GB, free: 0.5391 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000305/0.2163, allocations: 67.83 kB / 1.007 GB, free: 484 kB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.2164, allocations: 4 kB / 1.007 GB, free: 480 kB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003801/0.2168, allocations: 35.73 kB / 1.007 GB, free: 444 kB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.156e-05/0.2168, allocations: 12 kB / 1.007 GB, free: 432 kB / 0.6198 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001815/0.217, allocations: 169.6 kB / 1.007 GB, free: 252 kB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.879e-05/0.2171, allocations: 31.62 kB / 1.007 GB, free: 220 kB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005513/0.2176, allocations: 205.9 kB / 1.007 GB, free: 8 kB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006368/0.2183, allocations: 0.4894 MB / 1.007 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.2183, allocations: 0 / 1.007 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001818/0.2185, allocations: 132.6 kB / 1.008 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.648e-05/0.2186, allocations: 8 kB / 1.008 GB, free: 15.28 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000326/0.2189, allocations: 23.97 kB / 1.008 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.383e-05/0.219, allocations: 11.98 kB / 1.008 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007577/0.2198, allocations: 284.7 kB / 1.008 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0008967/0.2207, allocations: 464.4 kB / 1.008 GB, free: 14.49 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002445/0.2209, allocations: 71.94 kB / 1.008 GB, free: 14.42 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003408/0.2213, allocations: 235.2 kB / 1.009 GB, free: 14.19 MB / 0.6355 GB Notification: Performance of Backend: time 6.61e-07/0.2213, allocations: 0 / 1.009 GB, free: 14.19 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00127/0.2226, allocations: 357.8 kB / 1.009 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of SimCode: time 0.002769/0.2254, allocations: 1.542 MB / 1.01 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of Templates: time 0.01657/0.242, allocations: 6.79 MB / 1.017 GB, free: 5.523 MB / 0.6355 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)