Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 113.1 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 186.7 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002389/0.002389, allocations: 295.9 kB / 304.8 MB, free: 3.438 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.095/1.095, allocations: 180.9 MB / 0.5282 GB, free: 1.934 MB / 382.1 MB " [Timeout remaining time 178] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel") translateModel(BuildingSystems.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002675/0.002675, allocations: 95.84 kB / 0.7283 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4718/0.4745, allocations: 94.16 MB / 0.8203 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Examples.ExpansionVessel): time 0.01746/0.4919, allocations: 14.66 MB / 0.8346 GB, free: 8.984 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005779/0.4977, allocations: 3.673 MB / 0.8382 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004786/0.4982, allocations: 21.44 kB / 0.8382 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0006513/0.4988, allocations: 212 kB / 0.8384 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001367/0.5002, allocations: 0.6118 MB / 0.839 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008962/0.5011, allocations: 389.4 kB / 0.8394 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001259/0.5024, allocations: 1.101 MB / 0.8404 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003842/0.5027, allocations: 262.7 kB / 0.8407 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009547/0.5037, allocations: 409.3 kB / 0.8411 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004259/0.5041, allocations: 322.2 kB / 0.8414 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.047e-05/0.5042, allocations: 31.84 kB / 0.8414 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005223/0.5047, allocations: 263.5 kB / 0.8417 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001176/0.5048, allocations: 106.8 kB / 0.8418 GB, free: 3.555 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000223/0.505, allocations: 205.3 kB / 0.842 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008126/0.5058, allocations: 0.5945 MB / 0.8426 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.5059, allocations: 4 kB / 0.8426 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.162e-06/0.5059, allocations: 3.938 kB / 0.8426 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.212e-05/0.5059, allocations: 0 / 0.8426 GB, free: 3.027 MB / 0.5762 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.001225/0.5071, allocations: 0.761 MB / 0.8433 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.5071, allocations: 9.875 kB / 0.8433 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001878/0.5073, allocations: 53.3 kB / 0.8434 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007712/0.5081, allocations: 473.6 kB / 0.8438 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.611e-05/0.5081, allocations: 24 kB / 0.8438 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.688e-05/0.5082, allocations: 29.34 kB / 0.8439 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000586/0.5087, allocations: 305.5 kB / 0.8442 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.5088, allocations: 3.938 kB / 0.8442 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.457e-05/0.5088, allocations: 11.75 kB / 0.8442 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.723e-05/0.5088, allocations: 7.562 kB / 0.8442 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004773/0.5093, allocations: 198.5 kB / 0.8444 GB, free: 1.574 MB / 0.5762 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.001954/0.5113, allocations: 1.484 MB / 0.8458 GB, free: 196 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004612/0.5117, allocations: 154.7 kB / 0.846 GB, free: 104 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001727/0.5119, allocations: 62.48 kB / 0.846 GB, free: 68 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001447/0.512, allocations: 87.62 kB / 0.8461 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000298/0.5123, allocations: 121.5 kB / 0.8462 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.513e-06/0.5123, allocations: 0 / 0.8462 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0006338/0.513, allocations: 239.2 kB / 0.8465 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.463e-05/0.513, allocations: 60.59 kB / 0.8465 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003866/0.5134, allocations: 349.1 kB / 0.8468 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.302e-05/0.5134, allocations: 31.92 kB / 0.8469 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000178/0.5136, allocations: 220.5 kB / 0.8471 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.417e-05/0.5137, allocations: 55.48 kB / 0.8471 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.805e-05/0.5138, allocations: 52 kB / 0.8472 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.5139, allocations: 350.6 kB / 0.8475 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001974/0.5141, allocations: 69.42 kB / 0.8476 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000261/0.5144, allocations: 147.6 kB / 0.8477 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000495/0.5149, allocations: 242 kB / 0.848 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.5149, allocations: 1.469 kB / 0.848 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006201/0.5155, allocations: 311.7 kB / 0.8483 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.77e-05/0.5155, allocations: 33.39 kB / 0.8483 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.5155, allocations: 2.406 kB / 0.8483 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.5156, allocations: 4.531 kB / 0.8483 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002253/0.5158, allocations: 61.53 kB / 0.8484 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.5158, allocations: 16.39 kB / 0.8484 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002503/0.516, allocations: 35.62 kB / 0.8484 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.602e-05/0.5161, allocations: 13.36 kB / 0.8484 GB, free: 14.15 MB / 0.5919 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.0001815/0.5163, allocations: 153.4 kB / 0.8486 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.472e-05/0.5163, allocations: 36.23 kB / 0.8486 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004737/0.5168, allocations: 192.4 kB / 0.8488 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.5168, allocations: 5.469 kB / 0.8488 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.5168, allocations: 13.11 kB / 0.8488 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005447/0.5173, allocations: 493.2 kB / 0.8493 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004493/0.5178, allocations: 346.1 kB / 0.8496 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.5178, allocations: 1.125 kB / 0.8496 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001723/0.518, allocations: 35.22 kB / 0.8496 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.518, allocations: 1.438 kB / 0.8496 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/0.518, allocations: 1.375 kB / 0.8496 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.518, allocations: 3.938 kB / 0.8496 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.518, allocations: 1.219 kB / 0.8496 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006364/0.5186, allocations: 291.5 kB / 0.8499 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001488/0.5188, allocations: 122.2 kB / 0.85 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.106e-05/0.5188, allocations: 5.125 kB / 0.85 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002318/0.5191, allocations: 16.8 kB / 0.8501 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.222e-05/0.5191, allocations: 27.41 kB / 0.8501 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.172e-05/0.5192, allocations: 9.25 kB / 0.8501 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002733/0.5194, allocations: 249.1 kB / 0.8503 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.5194, allocations: 1.375 kB / 0.8503 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004298/0.5199, allocations: 125.8 kB / 0.8504 GB, free: 12.5 MB / 0.5919 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.000346/0.5202, allocations: 190.8 kB / 0.8506 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004926/0.5207, allocations: 223.3 kB / 0.8508 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.5207, allocations: 0 / 0.8508 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001817/0.5209, allocations: 66.19 kB / 0.8509 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009286/0.5218, allocations: 220.4 kB / 0.8511 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/0.5233, allocations: 0.7473 MB / 0.8518 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004281/0.5237, allocations: 0.7873 MB / 0.8526 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002224/0.5239, allocations: 72.17 kB / 0.8527 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.366e-05/0.524, allocations: 30 kB / 0.8527 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of SimCode: time 3.4e-07/0.524, allocations: 3.938 kB / 0.8527 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of Templates: time 0.01415/0.5381, allocations: 7.295 MB / 0.8598 GB, free: 4.691 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.sim & ./BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.640304778702557]