Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heater.mediums.1..h|heater.mediums.1..p|pipe.mediums.1..h|pipe.mediums.1..p|pipe.mediums.2..h|pipe.mediums.2..p|radiator.mediums.1..h|radiator.mediums.1..p|tank.level|tank.medium.h",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial") translateModel(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heater.mediums.1..h|heater.mediums.1..p|pipe.mediums.1..h|pipe.mediums.1..p|pipe.mediums.2..h|pipe.mediums.2..p|radiator.mediums.1..h|radiator.mediums.1..p|tank.level|tank.medium.h",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001101/0.001101, allocations: 197.5 kB / 16.78 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.353/1.353, allocations: 226.5 MB / 244.1 MB, free: 8.094 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008544/0.000855, allocations: 91.62 kB / 296.1 MB, free: 6.891 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.357/0.357, allocations: 44.83 MB / 393 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002752/0.0002753, allocations: 8 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3878/0.3881, allocations: 62.95 MB / 0.5165 GB, free: 37 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.049/7.437, allocations: 3.172 GB / 3.688 GB, free: 25.88 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/7.437, allocations: 85.98 kB / 3.689 GB, free: 25.8 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 8.986/16.42, allocations: 2.326 GB / 6.014 GB, free: 5.992 MB / 0.573 GB Notification: Performance of FrontEnd: time 3.777e-06/16.42, allocations: 0 / 6.014 GB, free: 5.992 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0005349/16.42, allocations: 75.86 kB / 6.014 GB, free: 5.918 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 538 * Number of variables: 538 Notification: Performance of Generate backend data structure: time 0.02255/16.45, allocations: 3.879 MB / 6.018 GB, free: 1.965 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 7.417e-05/16.45, allocations: 8.031 kB / 6.018 GB, free: 1.957 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003303/16.45, allocations: 321.4 kB / 6.018 GB, free: 1.641 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.47/16.92, allocations: 2.207 MB / 6.021 GB, free: 59.56 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004495/16.92, allocations: 216.1 kB / 6.021 GB, free: 59.49 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001415/16.92, allocations: 197.7 kB / 6.021 GB, free: 59.49 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007166/16.93, allocations: 3.369 MB / 6.024 GB, free: 59.01 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.559e-05/16.93, allocations: 7.688 kB / 6.024 GB, free: 59.01 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00039/16.93, allocations: 86.03 kB / 6.024 GB, free: 59.01 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003215/16.93, allocations: 205.6 kB / 6.025 GB, free: 59 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00624/16.94, allocations: 3.102 MB / 6.028 GB, free: 58.99 MB / 0.573 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.02725/16.96, allocations: 12.3 MB / 6.04 GB, free: 54.27 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004279/16.97, allocations: 2.252 MB / 6.042 GB, free: 54.13 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00231/16.97, allocations: 1.372 MB / 6.043 GB, free: 54.12 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01012/16.98, allocations: 5.82 MB / 6.049 GB, free: 51.35 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.897e-05/16.98, allocations: 54.09 kB / 6.049 GB, free: 51.31 MB / 0.573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001506/16.98, allocations: 189.1 kB / 6.049 GB, free: 51.26 MB / 0.573 GB Notification: Performance of pre-optimization done (n=172): time 6.372e-06/16.98, allocations: 0 / 6.049 GB, free: 51.26 MB / 0.573 GB Notification: Performance of matching and sorting (n=198): time 0.03336/17.01, allocations: 10.77 MB / 6.06 GB, free: 50.11 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.673e-05/17.02, allocations: 123.6 kB / 6.06 GB, free: 49.98 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003565/17.02, allocations: 1.884 MB / 6.062 GB, free: 49.75 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0006238/17.02, allocations: 60.83 kB / 6.062 GB, free: 49.72 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008892/17.02, allocations: 1.042 MB / 6.063 GB, free: 49.34 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008376/17.02, allocations: 0.6794 MB / 6.063 GB, free: 48.9 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001845/17.02, allocations: 48.03 kB / 6.063 GB, free: 48.9 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001557/17.02, allocations: 397.7 kB / 6.064 GB, free: 48.59 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002084/17.02, allocations: 1.222 MB / 6.065 GB, free: 48.59 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002345/17.03, allocations: 1.742 MB / 6.067 GB, free: 48.02 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005041/17.03, allocations: 3.043 MB / 6.07 GB, free: 47.47 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.596e-05/17.03, allocations: 6.969 kB / 6.07 GB, free: 47.47 MB / 0.573 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.009144/17.04, allocations: 3.948 MB / 6.073 GB, free: 47.2 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003675/17.04, allocations: 0.5157 MB / 6.074 GB, free: 46.61 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.58e-05/17.04, allocations: 20.97 kB / 6.074 GB, free: 46.61 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004799/17.05, allocations: 1.233 MB / 6.075 GB, free: 46.54 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00257/17.05, allocations: 476.3 kB / 6.076 GB, free: 46.54 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008734/17.06, allocations: 10.51 MB / 6.086 GB, free: 38.62 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003461/17.06, allocations: 188.2 kB / 6.086 GB, free: 38.61 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000519/17.06, allocations: 111.9 kB / 6.086 GB, free: 38.61 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/17.06, allocations: 8.031 kB / 6.086 GB, free: 38.61 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006892/17.07, allocations: 3.541 MB / 6.09 GB, free: 38.49 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.265e-05/17.07, allocations: 14.25 kB / 6.09 GB, free: 38.49 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0026/17.07, allocations: 0.8748 MB / 6.09 GB, free: 38.43 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002514/17.07, allocations: 0.4884 MB / 6.091 GB, free: 38.43 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008776/17.08, allocations: 10.19 MB / 6.101 GB, free: 30.52 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003979/17.09, allocations: 189.7 kB / 6.101 GB, free: 30.51 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007659/17.09, allocations: 110.5 kB / 6.101 GB, free: 30.51 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 4 (tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (248): * Single equations (assignments): 240 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 2,(1,100.0%) 6,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {5 14,2 6,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.002124/17.09, allocations: 0.7125 MB / 6.102 GB, free: 30.3 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006692/17.09, allocations: 225.6 kB / 6.102 GB, free: 30.19 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007814/17.1, allocations: 3.975 MB / 6.106 GB, free: 29.98 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.398e-05/17.1, allocations: 22.53 kB / 6.106 GB, free: 29.98 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-05/17.1, allocations: 5.422 kB / 6.106 GB, free: 29.98 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006255/17.1, allocations: 3.382 MB / 6.109 GB, free: 29.51 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01241/17.12, allocations: 6.364 MB / 6.116 GB, free: 29.02 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.124e-05/17.12, allocations: 10.44 kB / 6.116 GB, free: 29.02 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001381/17.12, allocations: 319.5 kB / 6.116 GB, free: 29.02 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004197/17.12, allocations: 1.235 MB / 6.117 GB, free: 28.95 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003651/17.12, allocations: 69.56 kB / 6.117 GB, free: 28.95 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007859/17.13, allocations: 10.47 MB / 6.127 GB, free: 21.02 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/17.13, allocations: 3.969 kB / 6.127 GB, free: 21.02 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009441/17.14, allocations: 5.231 MB / 6.132 GB, free: 20.61 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001964/17.14, allocations: 0.6149 MB / 6.133 GB, free: 20.39 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005667/17.14, allocations: 50.45 kB / 6.133 GB, free: 20.39 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0017/17.14, allocations: 156 kB / 6.133 GB, free: 20.38 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004225/17.14, allocations: 167.7 kB / 6.133 GB, free: 20.38 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002154/17.14, allocations: 84.25 kB / 6.133 GB, free: 20.38 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002051/17.15, allocations: 1.28 MB / 6.135 GB, free: 20.23 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.4e-07/17.15, allocations: 3.594 kB / 6.135 GB, free: 20.23 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.008573/17.16, allocations: 1.941 MB / 6.137 GB, free: 20.16 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (tank.medium.T,tank.level,heater.mediums[1].p,heater.mediums[1].T,radiator.mediums[1].p,radiator.mediums[1].T,pipe.mediums[1].p,pipe.mediums[1].T,pipe.mediums[2].p,pipe.mediums[2].T) * Number of discrete variables: 4 (tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (183): * Single equations (assignments): 169 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 6,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 9,2 8,6 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.003816/17.16, allocations: 1.318 MB / 6.138 GB, free: 19.95 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01114/17.17, allocations: 6.069 MB / 6.144 GB, free: 18.77 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.247e-06/17.17, allocations: 3.219 kB / 6.144 GB, free: 18.77 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.004007/17.17, allocations: 2.248 MB / 6.146 GB, free: 18.17 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005806/17.18, allocations: 0.9888 MB / 6.147 GB, free: 17.95 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01146/17.19, allocations: 6.699 MB / 6.154 GB, free: 14.95 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001533/17.19, allocations: 1.859 MB / 6.155 GB, free: 14.1 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001315/17.19, allocations: 232 kB / 6.156 GB, free: 14.07 MB / 0.573 GB Notification: Performance of SimCode: time 1.142e-06/17.19, allocations: 3.062 kB / 6.156 GB, free: 14.07 MB / 0.573 GB Notification: Performance of Templates: time 0.544/17.74, allocations: 125.5 MB / 6.278 GB, free: 68.6 MB / 0.5886 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe 2>&1)