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) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel") translateModel(BuildingSystems.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001063/0.001063, allocations: 114.8 kB / 16.42 MB, free: 6.504 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.001008/0.001008, allocations: 190.6 kB / 17.35 MB, free: 5.758 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.267/1.267, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002105/0.002105, allocations: 287 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9124/0.9124, allocations: 169.3 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001717/0.001717, allocations: 103.8 kB / 0.6821 GB, free: 6.984 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3744/0.3762, allocations: 86.97 MB / 0.767 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Examples.ExpansionVessel): time 0.01402/0.3902, allocations: 14.42 MB / 0.7811 GB, free: 5.469 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004638/0.3949, allocations: 3.648 MB / 0.7847 GB, free: 1.809 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000276/0.3952, allocations: 19.88 kB / 0.7847 GB, free: 1.789 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005114/0.3957, allocations: 202.7 kB / 0.7849 GB, free: 1.59 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001096/0.3968, allocations: 0.5868 MB / 0.7855 GB, free: 1 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007584/0.3976, allocations: 391.8 kB / 0.7858 GB, free: 0.6211 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001104/0.3987, allocations: 1.099 MB / 0.7869 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003893/0.3991, allocations: 324.2 kB / 0.7872 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00082/0.3999, allocations: 393.3 kB / 0.7876 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003586/0.4003, allocations: 302.7 kB / 0.7879 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.482e-05/0.4004, allocations: 32 kB / 0.7879 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004516/0.4008, allocations: 259.5 kB / 0.7882 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.392e-05/0.4009, allocations: 95.66 kB / 0.7883 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001934/0.4011, allocations: 215 kB / 0.7885 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006763/0.4018, allocations: 0.5906 MB / 0.789 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.4018, allocations: 0 / 0.789 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.202e-06/0.4018, allocations: 0 / 0.789 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.011e-05/0.4019, allocations: 0 / 0.789 GB, free: 13.34 MB / 0.5606 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.001035/0.4029, allocations: 0.7456 MB / 0.7898 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.4029, allocations: 12.03 kB / 0.7898 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001732/0.4031, allocations: 48.45 kB / 0.7898 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006517/0.4038, allocations: 463.7 kB / 0.7903 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.584e-05/0.4038, allocations: 24.94 kB / 0.7903 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.146e-05/0.4039, allocations: 39.77 kB / 0.7903 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005529/0.4044, allocations: 310.2 kB / 0.7906 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.4045, allocations: 0 / 0.7906 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.298e-05/0.4045, allocations: 12 kB / 0.7906 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.7e-05/0.4045, allocations: 8 kB / 0.7906 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004627/0.405, allocations: 198 kB / 0.7908 GB, free: 11.38 MB / 0.5606 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.001652/0.4067, allocations: 1.473 MB / 0.7923 GB, free: 9.781 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004271/0.4071, allocations: 162.6 kB / 0.7924 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001757/0.4073, allocations: 72.81 kB / 0.7925 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001124/0.4074, allocations: 85.11 kB / 0.7926 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002999/0.4077, allocations: 126.4 kB / 0.7927 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 1.794e-06/0.4077, allocations: 0 / 0.7927 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.0006145/0.4083, allocations: 237 kB / 0.7929 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.88e-05/0.4084, allocations: 59.34 kB / 0.793 GB, free: 8.996 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003463/0.4087, allocations: 349.7 kB / 0.7933 GB, free: 8.652 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.824e-05/0.4088, allocations: 29.64 kB / 0.7933 GB, free: 8.617 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/0.4089, allocations: 219.7 kB / 0.7935 GB, free: 8.398 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.578e-05/0.409, allocations: 51.27 kB / 0.7936 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.889e-05/0.4091, allocations: 57.69 kB / 0.7937 GB, free: 8.285 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.4092, allocations: 342.8 kB / 0.794 GB, free: 7.941 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001936/0.4094, allocations: 67.95 kB / 0.794 GB, free: 7.875 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000235/0.4096, allocations: 147.1 kB / 0.7942 GB, free: 7.699 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004134/0.41, allocations: 249.6 kB / 0.7944 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.4101, allocations: 0 / 0.7944 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005743/0.4106, allocations: 306.7 kB / 0.7947 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.906e-05/0.4107, allocations: 37.69 kB / 0.7947 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.4107, allocations: 4 kB / 0.7948 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.4107, allocations: 4 kB / 0.7948 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002232/0.4109, allocations: 51.91 kB / 0.7948 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/0.411, allocations: 11.88 kB / 0.7948 GB, free: 6.992 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002545/0.4112, allocations: 39.98 kB / 0.7949 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.43e-05/0.4113, allocations: 16 kB / 0.7949 GB, free: 6.938 MB / 0.5606 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.0001535/0.4114, allocations: 164.2 kB / 0.795 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.264e-05/0.4115, allocations: 31.62 kB / 0.7951 GB, free: 6.738 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004577/0.4119, allocations: 188.5 kB / 0.7952 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004715/0.4124, allocations: 498.9 kB / 0.7957 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.4124, allocations: 3.938 kB / 0.7957 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/0.4126, allocations: 120.7 kB / 0.7958 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.933e-05/0.4126, allocations: 4 kB / 0.7958 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002422/0.4129, allocations: 15.92 kB / 0.7959 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.707e-05/0.4129, allocations: 19.97 kB / 0.7959 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005626/0.4135, allocations: 268.7 kB / 0.7961 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006482/0.4142, allocations: 442.1 kB / 0.7965 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001674/0.4143, allocations: 64 kB / 0.7966 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002303/0.4146, allocations: 251.2 kB / 0.7968 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of Backend: time 2.41e-07/0.4146, allocations: 4 kB / 0.7969 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000862/0.4155, allocations: 367.7 kB / 0.7972 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of SimCode: time 0.001816/0.4173, allocations: 1.332 MB / 0.7985 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of Templates: time 0.01192/0.4292, allocations: 7.435 MB / 0.8058 GB, free: 11.69 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.makefile (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)