Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel") translateModel(IBPSA.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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.001485/0.001485, allocations: 120 kB / 17.09 MB, free: 6.008 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.001674/0.001675, allocations: 189.8 kB / 18.02 MB, free: 5.09 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.35/1.35, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.76/0.76, allocations: 115.3 MB / 407.2 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 59.03 kB / 0.5583 GB, free: 32.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1654, allocations: 76.19 MB / 0.6327 GB, free: 4.527 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.01505/0.1805, allocations: 14.41 MB / 0.6468 GB, free: 6.051 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006266/0.1868, allocations: 3.632 MB / 0.6503 GB, free: 2.406 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005887/0.1874, allocations: 23.88 kB / 0.6504 GB, free: 2.383 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006701/0.1881, allocations: 202.7 kB / 0.6506 GB, free: 2.184 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001449/0.1896, allocations: 0.5869 MB / 0.6511 GB, free: 1.594 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009275/0.1905, allocations: 398.5 kB / 0.6515 GB, free: 1.207 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001291/0.1918, allocations: 1.085 MB / 0.6526 GB, free: 120 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004488/0.1923, allocations: 328.4 kB / 0.6529 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009813/0.1933, allocations: 403.4 kB / 0.6533 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004036/0.1937, allocations: 306.7 kB / 0.6536 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.87e-05/0.1938, allocations: 32 kB / 0.6536 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006194/0.1944, allocations: 259.5 kB / 0.6538 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.1945, allocations: 95.72 kB / 0.6539 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002051/0.1947, allocations: 214.9 kB / 0.6541 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008082/0.1955, allocations: 0.5842 MB / 0.6547 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1955, allocations: 0 / 0.6547 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1955, allocations: 0 / 0.6547 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.814e-06/0.1956, allocations: 4 kB / 0.6547 GB, free: 13.92 MB / 0.4981 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.001162/0.1967, allocations: 0.7496 MB / 0.6554 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.1968, allocations: 8.031 kB / 0.6554 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002096/0.197, allocations: 44.47 kB / 0.6555 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007977/0.1978, allocations: 467.6 kB / 0.6559 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.451e-05/0.1978, allocations: 24.81 kB / 0.656 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.916e-05/0.1979, allocations: 35.84 kB / 0.656 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006121/0.1985, allocations: 306.2 kB / 0.6563 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.1985, allocations: 7.984 kB / 0.6563 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.551e-05/0.1986, allocations: 8 kB / 0.6563 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.17e-05/0.1986, allocations: 8 kB / 0.6563 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004984/0.1991, allocations: 198 kB / 0.6565 GB, free: 11.97 MB / 0.4981 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.001943/0.2011, allocations: 1.481 MB / 0.6579 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004663/0.2015, allocations: 154.6 kB / 0.6581 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001744/0.2017, allocations: 61.08 kB / 0.6581 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001415/0.2019, allocations: 93.09 kB / 0.6582 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003186/0.2022, allocations: 131.2 kB / 0.6584 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 2.595e-06/0.2022, allocations: 0 / 0.6584 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0006845/0.2029, allocations: 229.2 kB / 0.6586 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.203, allocations: 63.28 kB / 0.6586 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004163/0.2034, allocations: 357.5 kB / 0.659 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.224e-05/0.2034, allocations: 29.7 kB / 0.659 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001677/0.2036, allocations: 215.8 kB / 0.6592 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.948e-05/0.2037, allocations: 55.19 kB / 0.6593 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.385e-05/0.2038, allocations: 53.64 kB / 0.6593 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.2039, allocations: 346.8 kB / 0.6596 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002029/0.2041, allocations: 67.95 kB / 0.6597 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002409/0.2044, allocations: 149.9 kB / 0.6599 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004341/0.2048, allocations: 240.9 kB / 0.6601 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.2048, allocations: 0 / 0.6601 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006425/0.2055, allocations: 315.3 kB / 0.6604 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.671e-05/0.2055, allocations: 30.02 kB / 0.6604 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.2056, allocations: 8 kB / 0.6604 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.2056, allocations: 4 kB / 0.6604 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002318/0.2058, allocations: 63.84 kB / 0.6605 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.2058, allocations: 7.984 kB / 0.6605 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002736/0.2061, allocations: 31.75 kB / 0.6605 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.021e-05/0.2062, allocations: 11.98 kB / 0.6605 GB, free: 7.516 MB / 0.4981 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.0001701/0.2063, allocations: 157.7 kB / 0.6607 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.661e-05/0.2064, allocations: 35.62 kB / 0.6607 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00047/0.2069, allocations: 199.2 kB / 0.6609 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.2069, allocations: 3.938 kB / 0.6609 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.2069, allocations: 0 / 0.6609 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005112/0.2074, allocations: 487.7 kB / 0.6614 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004661/0.2079, allocations: 361.3 kB / 0.6617 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.2079, allocations: 4 kB / 0.6617 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001739/0.2081, allocations: 35.91 kB / 0.6618 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.2081, allocations: 0 / 0.6618 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.535e-05/0.2081, allocations: 0 / 0.6618 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.2081, allocations: 3.938 kB / 0.6618 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.788e-06/0.2081, allocations: 4 kB / 0.6618 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006511/0.2088, allocations: 280.6 kB / 0.662 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001426/0.209, allocations: 132.6 kB / 0.6622 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.518e-05/0.209, allocations: 4 kB / 0.6622 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002482/0.2093, allocations: 15.92 kB / 0.6622 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.507e-05/0.2094, allocations: 19.97 kB / 0.6622 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.106e-05/0.2094, allocations: 11.94 kB / 0.6622 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002617/0.2096, allocations: 247.2 kB / 0.6625 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2097, allocations: 0 / 0.6625 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004774/0.2101, allocations: 127.8 kB / 0.6626 GB, free: 5.246 MB / 0.4981 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.0004031/0.2106, allocations: 183.1 kB / 0.6627 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000549/0.2111, allocations: 232.2 kB / 0.663 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.2111, allocations: 4 kB / 0.663 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001836/0.2113, allocations: 72.53 kB / 0.663 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/0.2123, allocations: 210 kB / 0.6632 GB, free: 4.543 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001524/0.2139, allocations: 0.7598 MB / 0.664 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003836/0.2143, allocations: 0.7919 MB / 0.6648 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/0.2144, allocations: 35.42 kB / 0.6648 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of SimCode: time 7.51e-07/0.2144, allocations: 0 / 0.6648 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of Templates: time 0.01052/0.2249, allocations: 6.183 MB / 0.6708 GB, free: 12.78 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.sim & ./IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)