Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004272/0.004272, allocations: 176.7 kB / 7.452 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.483/1.483, allocations: 170.6 MB / 178.4 MB, free: 15.36 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001819/0.001819, allocations: 128.3 kB / 217.7 MB, free: 8.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1798/0.1798, allocations: 37.98 MB / 294.8 MB, free: 9.586 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.067e-05/1.071e-05, allocations: 1.688 kB / 349.5 MB, free: 37.02 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.12, allocations: 48.71 MB / 398.2 MB, free: 5.613 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.101/1.221, allocations: 394.6 MB / 0.7742 GB, free: 152.5 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002636/1.222, allocations: 89.28 kB / 0.7743 GB, free: 152.5 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.6966/1.918, allocations: 190.2 MB / 0.96 GB, free: 81.3 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001549/1.919, allocations: 30.53 kB / 0.96 GB, free: 81.3 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.005413/1.924, allocations: 1.336 MB / 0.9613 GB, free: 80.74 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/1.924, allocations: 7.125 kB / 0.9613 GB, free: 80.74 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009816/1.925, allocations: 115.1 kB / 0.9614 GB, free: 80.69 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003045/1.928, allocations: 0.8094 MB / 0.9622 GB, free: 80.44 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002219/1.928, allocations: 91.66 kB / 0.9623 GB, free: 80.37 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004532/1.929, allocations: 38.84 kB / 0.9624 GB, free: 80.37 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002789/1.932, allocations: 1.099 MB / 0.9634 GB, free: 80.37 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002779/1.934, allocations: 1.115 MB / 0.9645 GB, free: 80.22 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.463e-05/1.935, allocations: 7.5 kB / 0.9645 GB, free: 80.22 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001823/1.935, allocations: 3.031 kB / 0.9645 GB, free: 80.22 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001088/1.935, allocations: 80.16 kB / 0.9646 GB, free: 80.21 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009441/1.944, allocations: 4.64 MB / 0.9691 GB, free: 78.48 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007765/1.945, allocations: 469.5 kB / 0.9696 GB, free: 78.46 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005904/1.946, allocations: 409.5 kB / 0.97 GB, free: 78.46 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003436/1.949, allocations: 2.555 MB / 0.9725 GB, free: 77.02 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.061e-05/1.949, allocations: 44.06 kB / 0.9725 GB, free: 76.98 MB / 426.7 MB Notification: Performance of pre-optimization done (n=50): time 2.705e-06/1.949, allocations: 0 / 0.9725 GB, free: 76.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=55): time 0.009446/1.959, allocations: 3.024 MB / 0.9755 GB, free: 76.46 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.204e-05/1.959, allocations: 161.9 kB / 0.9756 GB, free: 76.27 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001053/1.96, allocations: 0.6312 MB / 0.9762 GB, free: 76.14 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001087/1.96, allocations: 25.7 kB / 0.9763 GB, free: 76.11 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002661/1.96, allocations: 397.9 kB / 0.9766 GB, free: 75.89 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002024/1.96, allocations: 206.2 kB / 0.9768 GB, free: 75.76 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.949e-05/1.961, allocations: 0 / 0.9768 GB, free: 75.76 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001365/1.961, allocations: 385.6 kB / 0.9772 GB, free: 75.45 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000611/1.961, allocations: 417.5 kB / 0.9776 GB, free: 75.45 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008938/1.962, allocations: 0.7246 MB / 0.9783 GB, free: 75.07 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007636/1.97, allocations: 1.682 MB / 0.98 GB, free: 75.07 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.7e-05/1.97, allocations: 6.156 kB / 0.98 GB, free: 75.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.009421/1.979, allocations: 2.622 MB / 0.9825 GB, free: 74.87 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001093/1.98, allocations: 3.657 MB / 0.9861 GB, free: 71.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.092e-05/1.981, allocations: 7.781 kB / 0.9861 GB, free: 71.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001138/1.982, allocations: 432.3 kB / 0.9865 GB, free: 71.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008471/1.983, allocations: 193.8 kB / 0.9867 GB, free: 71.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003507/1.986, allocations: 3.154 MB / 0.9898 GB, free: 68.81 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001177/1.987, allocations: 45.06 kB / 0.9898 GB, free: 68.81 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001574/1.987, allocations: 47.59 kB / 0.9899 GB, free: 68.81 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.288e-06/1.987, allocations: 3.812 kB / 0.9899 GB, free: 68.81 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007955/1.995, allocations: 2.179 MB / 0.992 GB, free: 68.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.544e-05/1.996, allocations: 10.88 kB / 0.992 GB, free: 68.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008241/1.996, allocations: 297.7 kB / 0.9923 GB, free: 68.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007956/1.997, allocations: 201.9 kB / 0.9925 GB, free: 68.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001642/1.999, allocations: 2.666 MB / 0.9951 GB, free: 66.42 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009636/2, allocations: 42.38 kB / 0.9951 GB, free: 66.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000136/2, allocations: 52.11 kB / 0.9952 GB, free: 66.41 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (vol1.inFlow[1],vol1.inFlow[2],vol1.regularFlow[2],vol1.regularFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {2 5,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.000412/2, allocations: 132.4 kB / 0.9953 GB, free: 66.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002766/2.001, allocations: 83.34 kB / 0.9954 GB, free: 66.26 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003824/2.004, allocations: 1.566 MB / 0.9969 GB, free: 66.07 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.365e-05/2.005, allocations: 10.92 kB / 0.9969 GB, free: 66.07 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/2.005, allocations: 7.094 kB / 0.9969 GB, free: 66.07 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/2.005, allocations: 3.938 kB / 0.9969 GB, free: 66.07 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005227/2.01, allocations: 2.387 MB / 0.9993 GB, free: 65.65 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/2.01, allocations: 7.578 kB / 0.9993 GB, free: 65.65 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005206/2.01, allocations: 89.98 kB / 0.9994 GB, free: 65.65 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001088/2.011, allocations: 412.1 kB / 0.9997 GB, free: 65.62 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.631e-05/2.012, allocations: 24.42 kB / 0.9998 GB, free: 65.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0032/2.015, allocations: 3.108 MB / 1.003 GB, free: 63.39 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/2.015, allocations: 3.469 kB / 1.003 GB, free: 63.39 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003955/2.019, allocations: 1.94 MB / 1.005 GB, free: 63.03 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000736/2.02, allocations: 268.9 kB / 1.005 GB, free: 62.89 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003249/2.02, allocations: 11.47 kB / 1.005 GB, free: 62.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008593/2.021, allocations: 25.33 kB / 1.005 GB, free: 62.89 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/2.021, allocations: 52.67 kB / 1.005 GB, free: 62.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-05/2.021, allocations: 29.22 kB / 1.005 GB, free: 62.89 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0007932/2.022, allocations: 466.2 kB / 1.006 GB, free: 62.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003701/2.026, allocations: 0.8133 MB / 1.006 GB, free: 62.65 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (vol1.medium.p,vol1.medium.T) * Number of discrete variables: 2 (vol1.inFlow[1],vol1.inFlow[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.002991/2.029, allocations: 0.8241 MB / 1.007 GB, free: 62.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003587/2.032, allocations: 1.776 MB / 1.009 GB, free: 62.17 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/2.032, allocations: 0 / 1.009 GB, free: 62.17 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001092/2.033, allocations: 0.5525 MB / 1.009 GB, free: 62.06 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001855/2.035, allocations: 301.2 kB / 1.01 GB, free: 62.05 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004697/2.04, allocations: 1.579 MB / 1.011 GB, free: 61.71 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001169/2.041, allocations: 1.184 MB / 1.012 GB, free: 61.01 MB / 426.7 MB Notification: Performance of SimCode: time 1.543e-06/2.041, allocations: 0 / 1.012 GB, free: 61.01 MB / 426.7 MB Notification: Performance of Templates: time 0.05843/2.099, allocations: 28.8 MB / 1.041 GB, free: 58.33 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe 2>&1)