Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.001869/0.001869, allocations: 80.55 kB / 19.95 MB, free: 4.602 MB / 18.57 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.002166/0.002166, allocations: 173.2 kB / 23.24 MB, free: 1.324 MB / 18.57 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.66/1.66, allocations: 177.1 MB / 203.5 MB, free: 5.762 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.203/3.203, allocations: 389.5 MB / 0.6343 GB, free: 12.62 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel") translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 1.001 GB, free: 13.07 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.934e-05/3.073e-05, allocations: 10.22 kB / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01821/0.01824, allocations: 13.43 MB / 1.014 GB, free: 15.57 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.006/0.02424, allocations: 3.385 MB / 1.018 GB, free: 12.18 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004534/0.0247, allocations: 27.75 kB / 1.018 GB, free: 12.15 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0006882/0.02538, allocations: 210.6 kB / 1.018 GB, free: 11.94 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.001625/0.02701, allocations: 0.6448 MB / 1.018 GB, free: 11.29 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.001009/0.02802, allocations: 406.8 kB / 1.019 GB, free: 10.9 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.001686/0.0297, allocations: 1.106 MB / 1.02 GB, free: 9.785 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004577/0.03016, allocations: 260.9 kB / 1.02 GB, free: 9.527 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001353/0.03151, allocations: 0.5647 MB / 1.021 GB, free: 8.961 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004701/0.03198, allocations: 271.2 kB / 1.021 GB, free: 8.695 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 6.798e-05/0.03205, allocations: 32 kB / 1.021 GB, free: 8.664 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00056/0.03261, allocations: 223.4 kB / 1.021 GB, free: 8.445 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0001445/0.03276, allocations: 99.59 kB / 1.021 GB, free: 8.348 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0002288/0.03299, allocations: 147.7 kB / 1.021 GB, free: 8.203 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0009868/0.03397, allocations: 0.6114 MB / 1.022 GB, free: 7.59 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.03398, allocations: 0 / 1.022 GB, free: 7.59 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.864e-06/0.03398, allocations: 0 / 1.022 GB, free: 7.59 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.03398, allocations: 0 / 1.022 GB, free: 7.59 MB / 0.9792 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.001329/0.03531, allocations: 0.6893 MB / 1.023 GB, free: 6.863 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.03535, allocations: 9.344 kB / 1.023 GB, free: 6.855 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001944/0.03555, allocations: 48.7 kB / 1.023 GB, free: 6.809 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000837/0.03638, allocations: 408 kB / 1.023 GB, free: 6.383 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.606e-05/0.03642, allocations: 20.88 kB / 1.023 GB, free: 6.359 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.027e-05/0.03648, allocations: 28.38 kB / 1.023 GB, free: 6.332 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007374/0.03722, allocations: 412.4 kB / 1.024 GB, free: 5.887 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.265e-05/0.03724, allocations: 15.92 kB / 1.024 GB, free: 5.871 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.065e-05/0.03728, allocations: 19.92 kB / 1.024 GB, free: 5.852 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.946e-05/0.0373, allocations: 4 kB / 1.024 GB, free: 5.848 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005231/0.03782, allocations: 193.8 kB / 1.024 GB, free: 5.66 MB / 0.9792 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.001908/0.03973, allocations: 1.092 MB / 1.025 GB, free: 4.516 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005007/0.04023, allocations: 150.6 kB / 1.025 GB, free: 4.359 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001897/0.04042, allocations: 60.81 kB / 1.025 GB, free: 4.297 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 9.282e-05/0.04051, allocations: 8 kB / 1.025 GB, free: 4.289 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004017/0.04092, allocations: 230.1 kB / 1.025 GB, free: 4.027 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=15): time 2.234e-06/0.04092, allocations: 4 kB / 1.025 GB, free: 4.023 MB / 0.9792 GB Notification: Performance of matching and sorting (n=15): time 0.0007134/0.04163, allocations: 239.7 kB / 1.025 GB, free: 3.785 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.881e-05/0.04169, allocations: 55.39 kB / 1.026 GB, free: 3.719 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004295/0.04212, allocations: 328.5 kB / 1.026 GB, free: 3.387 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 3.596e-05/0.04216, allocations: 29.69 kB / 1.026 GB, free: 3.352 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002105/0.04237, allocations: 224.4 kB / 1.026 GB, free: 3.129 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 6.26e-05/0.04243, allocations: 55.53 kB / 1.026 GB, free: 3.074 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.04253, allocations: 53.66 kB / 1.026 GB, free: 3.016 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001991/0.04273, allocations: 346.8 kB / 1.027 GB, free: 2.668 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002571/0.04299, allocations: 101.6 kB / 1.027 GB, free: 2.562 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003019/0.04329, allocations: 175.1 kB / 1.027 GB, free: 2.352 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004774/0.04377, allocations: 241 kB / 1.027 GB, free: 2.078 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.04377, allocations: 4 kB / 1.027 GB, free: 2.074 MB / 0.9792 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006828/0.04446, allocations: 340.7 kB / 1.027 GB, free: 1.723 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 4.371e-05/0.0445, allocations: 33.7 kB / 1.027 GB, free: 1.684 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.04451, allocations: 4 kB / 1.027 GB, free: 1.68 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.04453, allocations: 4 kB / 1.027 GB, free: 1.676 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002834/0.04481, allocations: 55.89 kB / 1.027 GB, free: 1.621 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.385e-05/0.04482, allocations: 7.938 kB / 1.027 GB, free: 1.613 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002416/0.04507, allocations: 31.83 kB / 1.027 GB, free: 1.582 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.006e-05/0.0451, allocations: 20.12 kB / 1.027 GB, free: 1.562 MB / 0.9792 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.0002001/0.0453, allocations: 169.6 kB / 1.028 GB, free: 1.387 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.61e-05/0.04535, allocations: 27.81 kB / 1.028 GB, free: 1.359 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005054/0.04586, allocations: 188.5 kB / 1.028 GB, free: 1.172 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.04586, allocations: 0 / 1.028 GB, free: 1.172 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.04586, allocations: 4 kB / 1.028 GB, free: 1.168 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006072/0.04647, allocations: 491.6 kB / 1.028 GB, free: 0.6016 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004294/0.0469, allocations: 253 kB / 1.029 GB, free: 332 kB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.0469, allocations: 0 / 1.029 GB, free: 332 kB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001775/0.04708, allocations: 31.97 kB / 1.029 GB, free: 300 kB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.04708, allocations: 0 / 1.029 GB, free: 300 kB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.991e-05/0.0471, allocations: 8 kB / 1.029 GB, free: 292 kB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.04711, allocations: 4 kB / 1.029 GB, free: 288 kB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.04711, allocations: 0 / 1.029 GB, free: 288 kB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007204/0.04783, allocations: 299.6 kB / 1.029 GB, free: 15.97 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001198/0.04795, allocations: 47.77 kB / 1.029 GB, free: 15.92 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.318e-05/0.04799, allocations: 7.938 kB / 1.029 GB, free: 15.91 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002176/0.04821, allocations: 15.98 kB / 1.029 GB, free: 15.9 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.156e-05/0.04828, allocations: 15.97 kB / 1.029 GB, free: 15.88 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.181e-05/0.0483, allocations: 7.984 kB / 1.029 GB, free: 15.88 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0003368/0.04864, allocations: 227.1 kB / 1.029 GB, free: 15.66 MB / 0.9948 GB Notification: Performance of sort global known variables: time 9e-08/0.04864, allocations: 0 / 1.029 GB, free: 15.66 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0004658/0.04911, allocations: 135.6 kB / 1.029 GB, free: 15.52 MB / 0.9948 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.0003561/0.04946, allocations: 194.8 kB / 1.03 GB, free: 15.33 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0005611/0.05002, allocations: 247.3 kB / 1.03 GB, free: 15.07 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.05002, allocations: 0 / 1.03 GB, free: 15.07 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002004/0.05023, allocations: 71.89 kB / 1.03 GB, free: 15 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009491/0.05117, allocations: 207.2 kB / 1.03 GB, free: 14.81 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/0.05265, allocations: 0.6435 MB / 1.031 GB, free: 14.13 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000221/0.05287, allocations: 189.1 kB / 1.031 GB, free: 13.93 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0002436/0.05311, allocations: 63.19 kB / 1.031 GB, free: 13.87 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.116e-05/0.05319, allocations: 32.48 kB / 1.031 GB, free: 13.84 MB / 0.9948 GB Notification: Performance of SimCode: time 5.31e-07/0.05319, allocations: 4 kB / 1.031 GB, free: 13.83 MB / 0.9948 GB Notification: Performance of Templates: time 0.01623/0.06942, allocations: 7.162 MB / 1.038 GB, free: 6.848 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel.sim & ./Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.98321042302996]