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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002012/0.002012, allocations: 164.4 kB / 7.635 MB, free: 1.418 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.525/1.525, allocations: 170.6 MB / 178.7 MB, free: 15.65 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.001603/0.001603, allocations: 107.5 kB / 218 MB, free: 8.41 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.1993/0.1993, allocations: 37.99 MB / 295.1 MB, free: 9.492 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.808e-05/1.809e-05, allocations: 3.031 kB / 350 MB, free: 37 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1241, allocations: 48.73 MB / 398.7 MB, free: 5.336 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.334/1.458, allocations: 394.6 MB / 0.7748 GB, free: 151.3 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002893/1.458, allocations: 85.61 kB / 0.7748 GB, free: 151.3 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7809/2.239, allocations: 189.5 MB / 0.9599 GB, free: 80.49 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.116e-06/2.239, allocations: 0 / 0.9599 GB, free: 80.49 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001386/2.239, allocations: 31.59 kB / 0.9599 GB, free: 80.49 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.004988/2.244, allocations: 1.337 MB / 0.9612 GB, free: 79.93 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.827e-05/2.244, allocations: 13.31 kB / 0.9612 GB, free: 79.93 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006254/2.245, allocations: 117 kB / 0.9613 GB, free: 79.88 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001643/2.247, allocations: 0.7921 MB / 0.9621 GB, free: 79.63 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001086/2.247, allocations: 91.28 kB / 0.9622 GB, free: 79.57 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001231/2.247, allocations: 39.09 kB / 0.9622 GB, free: 79.57 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001749/2.249, allocations: 1.07 MB / 0.9633 GB, free: 79.56 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001663/2.25, allocations: 1.099 MB / 0.9643 GB, free: 79.41 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.37e-05/2.25, allocations: 3.469 kB / 0.9643 GB, free: 79.41 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-05/2.251, allocations: 0 / 0.9643 GB, free: 79.41 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.919e-05/2.251, allocations: 71.17 kB / 0.9644 GB, free: 79.41 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007081/2.258, allocations: 4.62 MB / 0.9689 GB, free: 77.68 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009796/2.259, allocations: 0.6344 MB / 0.9695 GB, free: 77.65 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004437/2.259, allocations: 392.5 kB / 0.9699 GB, free: 77.64 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002922/2.262, allocations: 2.554 MB / 0.9724 GB, free: 76.21 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/2.262, allocations: 38.75 kB / 0.9724 GB, free: 76.17 MB / 426.7 MB Notification: Performance of pre-optimization done (n=50): time 2.014e-06/2.262, allocations: 0 / 0.9724 GB, free: 76.17 MB / 426.7 MB Notification: Performance of matching and sorting (n=55): time 0.008226/2.27, allocations: 3.008 MB / 0.9754 GB, free: 75.65 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.237e-05/2.271, allocations: 161 kB / 0.9755 GB, free: 75.46 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007205/2.271, allocations: 0.6095 MB / 0.9761 GB, free: 75.33 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.685e-05/2.271, allocations: 32.42 kB / 0.9762 GB, free: 75.3 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000249/2.272, allocations: 497.8 kB / 0.9766 GB, free: 75.09 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001423/2.272, allocations: 181.9 kB / 0.9768 GB, free: 74.97 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.322e-05/2.272, allocations: 0 / 0.9768 GB, free: 74.97 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001128/2.272, allocations: 397.4 kB / 0.9772 GB, free: 74.65 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005235/2.272, allocations: 407.8 kB / 0.9776 GB, free: 74.65 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006511/2.273, allocations: 0.7084 MB / 0.9783 GB, free: 74.28 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006363/2.279, allocations: 1.61 MB / 0.9798 GB, free: 74.27 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.929e-06/2.28, allocations: 3.219 kB / 0.9798 GB, free: 74.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008435/2.288, allocations: 2.518 MB / 0.9823 GB, free: 74.07 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009621/2.289, allocations: 3.67 MB / 0.9859 GB, free: 70.26 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.271e-05/2.289, allocations: 7.594 kB / 0.9859 GB, free: 70.26 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00112/2.29, allocations: 426.2 kB / 0.9863 GB, free: 70.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008067/2.291, allocations: 197.1 kB / 0.9865 GB, free: 70.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003296/2.294, allocations: 3.127 MB / 0.9895 GB, free: 68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/2.295, allocations: 37.22 kB / 0.9896 GB, free: 67.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000147/2.296, allocations: 50.03 kB / 0.9896 GB, free: 67.99 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/2.296, allocations: 6.922 kB / 0.9896 GB, free: 67.99 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007357/2.303, allocations: 2.1 MB / 0.9917 GB, free: 67.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.153e-05/2.303, allocations: 11.34 kB / 0.9917 GB, free: 67.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007886/2.304, allocations: 300.6 kB / 0.992 GB, free: 67.83 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007678/2.305, allocations: 196.8 kB / 0.9922 GB, free: 67.83 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00173/2.306, allocations: 2.665 MB / 0.9948 GB, free: 65.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/2.307, allocations: 37.62 kB / 0.9948 GB, free: 65.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001314/2.308, allocations: 45.59 kB / 0.9948 GB, free: 65.6 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.0003971/2.308, allocations: 143.5 kB / 0.995 GB, free: 65.48 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002853/2.308, allocations: 80.66 kB / 0.9951 GB, free: 65.44 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003619/2.312, allocations: 1.447 MB / 0.9965 GB, free: 65.25 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.288e-05/2.312, allocations: 11.39 kB / 0.9965 GB, free: 65.25 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/2.312, allocations: 0 / 0.9965 GB, free: 65.25 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/2.312, allocations: 6.516 kB / 0.9965 GB, free: 65.25 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004964/2.317, allocations: 2.351 MB / 0.9988 GB, free: 64.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/2.317, allocations: 0 / 0.9988 GB, free: 64.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004876/2.317, allocations: 89.52 kB / 0.9989 GB, free: 64.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001057/2.319, allocations: 415.5 kB / 0.9993 GB, free: 64.79 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.086e-05/2.319, allocations: 10.94 kB / 0.9993 GB, free: 64.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003532/2.322, allocations: 3.073 MB / 1.002 GB, free: 62.55 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/2.322, allocations: 3.938 kB / 1.002 GB, free: 62.55 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004051/2.326, allocations: 1.887 MB / 1.004 GB, free: 62.19 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007091/2.327, allocations: 265.6 kB / 1.004 GB, free: 62.05 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003163/2.327, allocations: 3.375 kB / 1.004 GB, free: 62.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008366/2.328, allocations: 38.69 kB / 1.004 GB, free: 62.05 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001655/2.328, allocations: 64.7 kB / 1.004 GB, free: 62.04 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.398e-05/2.328, allocations: 22.17 kB / 1.005 GB, free: 62.04 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007803/2.329, allocations: 467.9 kB / 1.005 GB, free: 61.95 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.31e-07/2.329, allocations: 0 / 1.005 GB, free: 61.95 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003663/2.333, allocations: 0.8079 MB / 1.006 GB, free: 61.81 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.002839/2.336, allocations: 0.8152 MB / 1.007 GB, free: 61.56 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003237/2.339, allocations: 1.734 MB / 1.008 GB, free: 61.34 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/2.339, allocations: 3.125 kB / 1.008 GB, free: 61.34 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000978/2.34, allocations: 0.5384 MB / 1.009 GB, free: 61.23 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00185/2.342, allocations: 316.1 kB / 1.009 GB, free: 61.22 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003652/2.346, allocations: 1.51 MB / 1.011 GB, free: 60.86 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006136/2.346, allocations: 1.081 MB / 1.012 GB, free: 60.15 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001586/2.348, allocations: 428.1 kB / 1.012 GB, free: 60.14 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000211/2.348, allocations: 75.44 kB / 1.012 GB, free: 60.13 MB / 426.7 MB Notification: Performance of SimCode: time 1.353e-06/2.348, allocations: 0 / 1.012 GB, free: 60.13 MB / 426.7 MB Notification: Performance of Templates: time 0.04396/2.392, allocations: 24.51 MB / 1.036 GB, free: 58.73 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)