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.001124/0.001124, allocations: 108.4 kB / 16.41 MB, free: 6.453 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.001088/0.001088, allocations: 181.7 kB / 17.34 MB, free: 5.742 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.312/1.312, allocations: 222.9 MB / 241.1 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.002051/0.002051, allocations: 278.9 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9233/0.9233, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001793/0.001793, allocations: 95.84 kB / 0.6821 GB, free: 6.941 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3906/0.3924, allocations: 86.97 MB / 0.767 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Examples.ExpansionVessel): time 0.0152/0.4077, allocations: 14.42 MB / 0.7811 GB, free: 5.418 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005842/0.4136, allocations: 3.644 MB / 0.7847 GB, free: 1.762 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003684/0.4139, allocations: 23.88 kB / 0.7847 GB, free: 1.738 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006065/0.4146, allocations: 206.7 kB / 0.7849 GB, free: 1.535 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001219/0.4158, allocations: 0.6103 MB / 0.7855 GB, free: 0.9219 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008044/0.4167, allocations: 399.4 kB / 0.7859 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001252/0.4179, allocations: 1.091 MB / 0.7869 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004143/0.4183, allocations: 324.2 kB / 0.7873 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008323/0.4192, allocations: 397.4 kB / 0.7876 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003633/0.4196, allocations: 310.6 kB / 0.7879 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.942e-05/0.4196, allocations: 32 kB / 0.788 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005554/0.4202, allocations: 259.5 kB / 0.7882 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001469/0.4204, allocations: 95.67 kB / 0.7883 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002098/0.4206, allocations: 211 kB / 0.7885 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0008048/0.4214, allocations: 0.5906 MB / 0.7891 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.4214, allocations: 0 / 0.7891 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.292e-06/0.4214, allocations: 0 / 0.7891 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.899e-06/0.4214, allocations: 0 / 0.7891 GB, free: 13.25 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.001158/0.4226, allocations: 0.7495 MB / 0.7898 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.4226, allocations: 8.031 kB / 0.7898 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001903/0.4228, allocations: 48.47 kB / 0.7899 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007485/0.4236, allocations: 471.6 kB / 0.7903 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.4236, allocations: 16.94 kB / 0.7903 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.941e-05/0.4237, allocations: 43.77 kB / 0.7904 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006201/0.4243, allocations: 306.2 kB / 0.7907 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.4243, allocations: 3.938 kB / 0.7907 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.4e-05/0.4244, allocations: 12 kB / 0.7907 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.012e-05/0.4244, allocations: 7.984 kB / 0.7907 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004825/0.4249, allocations: 190.1 kB / 0.7909 GB, free: 11.3 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.001839/0.4267, allocations: 1.481 MB / 0.7923 GB, free: 9.691 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004381/0.4272, allocations: 154.6 kB / 0.7925 GB, free: 9.531 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000181/0.4274, allocations: 68.81 kB / 0.7925 GB, free: 9.461 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001197/0.4275, allocations: 97.09 kB / 0.7926 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002963/0.4278, allocations: 127.3 kB / 0.7927 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 1.884e-06/0.4278, allocations: 0 / 0.7927 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.0006668/0.4285, allocations: 236.4 kB / 0.793 GB, free: 8.977 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.4285, allocations: 63.33 kB / 0.793 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004179/0.429, allocations: 345.7 kB / 0.7934 GB, free: 8.562 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.008e-05/0.429, allocations: 25.7 kB / 0.7934 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001457/0.4292, allocations: 219.7 kB / 0.7936 GB, free: 8.312 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.741e-05/0.4292, allocations: 55.19 kB / 0.7936 GB, free: 8.258 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.362e-05/0.4293, allocations: 53.7 kB / 0.7937 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.4294, allocations: 338.8 kB / 0.794 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002014/0.4296, allocations: 71.95 kB / 0.7941 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002294/0.4299, allocations: 143.1 kB / 0.7942 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004217/0.4303, allocations: 250.9 kB / 0.7945 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.4303, allocations: 0 / 0.7945 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005796/0.4309, allocations: 313 kB / 0.7948 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.03e-05/0.4309, allocations: 33.69 kB / 0.7948 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.431, allocations: 4 kB / 0.7948 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.431, allocations: 4 kB / 0.7948 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000242/0.4312, allocations: 55.91 kB / 0.7948 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.4312, allocations: 11.88 kB / 0.7949 GB, free: 6.902 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002523/0.4315, allocations: 35.67 kB / 0.7949 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.719e-05/0.4315, allocations: 12 kB / 0.7949 GB, free: 6.855 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.0001895/0.4317, allocations: 161.8 kB / 0.7951 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.42e-05/0.4318, allocations: 35.61 kB / 0.7951 GB, free: 6.652 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004587/0.4323, allocations: 192.5 kB / 0.7953 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004666/0.4327, allocations: 487.6 kB / 0.7957 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.58e-05/0.4328, allocations: 3.938 kB / 0.7957 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000128/0.4329, allocations: 120.7 kB / 0.7959 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.597e-05/0.433, allocations: 12 kB / 0.7959 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002392/0.4332, allocations: 15.92 kB / 0.7959 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.41e-05/0.4333, allocations: 19.97 kB / 0.7959 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006222/0.4339, allocations: 264.7 kB / 0.7962 GB, free: 5.441 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000682/0.4346, allocations: 445.1 kB / 0.7966 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001742/0.4348, allocations: 71.98 kB / 0.7967 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000239/0.435, allocations: 247.2 kB / 0.7969 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of Backend: time 7.71e-07/0.435, allocations: 0 / 0.7969 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009531/0.436, allocations: 365.6 kB / 0.7972 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of SimCode: time 0.001921/0.4379, allocations: 1.327 MB / 0.7985 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of Templates: time 0.01281/0.4508, allocations: 7.443 MB / 0.8058 GB, free: 11.61 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)