Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) 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) 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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009403/0.0009404, allocations: 184.8 kB / 17.06 MB, free: 5.074 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.283/1.283, allocations: 223.2 MB / 241 MB, free: 10.12 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008302/0.0008302, allocations: 100.3 kB / 292.2 MB, free: 10.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3218/0.3218, allocations: 44.21 MB / 387.5 MB, free: 38.5 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003644/0.0003645, allocations: 4 kB / 459.9 MB, free: 1.52 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3503/0.3507, allocations: 61.9 MB / 0.5096 GB, free: 37.75 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.507/8.857, allocations: 3.171 GB / 3.68 GB, free: 89.86 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004045/8.858, allocations: 89.98 kB / 3.68 GB, free: 89.85 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 11.19/20.05, allocations: 3.111 GB / 6.791 GB, free: 1.102 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.824e-06/20.05, allocations: 0 / 6.791 GB, free: 1.102 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0003191/20.05, allocations: 67.98 kB / 6.791 GB, free: 1.035 MB / 0.5573 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.3612/20.41, allocations: 3.901 MB / 6.795 GB, free: 51.46 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/20.41, allocations: 9.688 kB / 6.795 GB, free: 51.46 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001902/20.41, allocations: 313.1 kB / 6.795 GB, free: 51.32 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006202/20.42, allocations: 2.105 MB / 6.797 GB, free: 50.86 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002892/20.42, allocations: 225 kB / 6.798 GB, free: 50.8 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008336/20.42, allocations: 191.5 kB / 6.798 GB, free: 50.8 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005791/20.42, allocations: 3.36 MB / 6.801 GB, free: 50.31 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.632e-05/20.42, allocations: 10.31 kB / 6.801 GB, free: 50.3 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003107/20.42, allocations: 88.8 kB / 6.801 GB, free: 50.3 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002331/20.42, allocations: 202.5 kB / 6.801 GB, free: 50.3 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00495/20.43, allocations: 3.102 MB / 6.804 GB, free: 50.28 MB / 0.5573 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.01765/20.45, allocations: 12.43 MB / 6.816 GB, free: 45.32 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003421/20.45, allocations: 2.262 MB / 6.819 GB, free: 45.17 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008975/20.46, allocations: 5.884 MB / 6.824 GB, free: 42.36 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.529e-05/20.46, allocations: 51.25 kB / 6.824 GB, free: 42.32 MB / 0.5573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001278/20.46, allocations: 201.6 kB / 6.825 GB, free: 42.22 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=174): time 5.46e-06/20.46, allocations: 3.062 kB / 6.825 GB, free: 42.22 MB / 0.5573 GB Notification: Performance of matching and sorting (n=200): time 0.03046/20.49, allocations: 10.73 MB / 6.835 GB, free: 41.04 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.871e-05/20.49, allocations: 123 kB / 6.835 GB, free: 40.91 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002659/20.49, allocations: 1.668 MB / 6.837 GB, free: 40.69 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0004293/20.49, allocations: 65.8 kB / 6.837 GB, free: 40.66 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007068/20.49, allocations: 1.033 MB / 6.838 GB, free: 40.25 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006311/20.49, allocations: 0.6912 MB / 6.839 GB, free: 39.81 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001575/20.49, allocations: 44.94 kB / 6.839 GB, free: 39.81 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001478/20.49, allocations: 405.6 kB / 6.839 GB, free: 39.5 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001843/20.5, allocations: 1.235 MB / 6.84 GB, free: 39.49 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001934/20.5, allocations: 1.734 MB / 6.842 GB, free: 38.95 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001985/20.5, allocations: 1.486 MB / 6.843 GB, free: 38.92 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.218e-06/20.5, allocations: 4.5 kB / 6.843 GB, free: 38.92 MB / 0.5573 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.007342/20.51, allocations: 3.96 MB / 6.847 GB, free: 38.66 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001031/20.51, allocations: 5.805 MB / 6.853 GB, free: 32.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.841e-05/20.51, allocations: 14.16 kB / 6.853 GB, free: 32.61 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004549/20.51, allocations: 1.218 MB / 6.854 GB, free: 32.54 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002376/20.52, allocations: 468 kB / 6.855 GB, free: 32.54 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008366/20.52, allocations: 10.63 MB / 6.865 GB, free: 24.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003304/20.53, allocations: 201.4 kB / 6.865 GB, free: 24.61 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004456/20.53, allocations: 111.7 kB / 6.865 GB, free: 24.61 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/20.53, allocations: 3.219 kB / 6.865 GB, free: 24.61 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006823/20.53, allocations: 3.567 MB / 6.869 GB, free: 24.49 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.559e-05/20.53, allocations: 14.44 kB / 6.869 GB, free: 24.49 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002597/20.54, allocations: 0.8946 MB / 6.87 GB, free: 24.43 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00226/20.54, allocations: 498.8 kB / 6.87 GB, free: 24.43 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007257/20.55, allocations: 10.31 MB / 6.88 GB, free: 16.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003495/20.55, allocations: 196.4 kB / 6.88 GB, free: 16.51 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005093/20.55, allocations: 106.3 kB / 6.88 GB, free: 16.51 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * 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 15,2 6,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.002432/20.55, allocations: 0.7072 MB / 6.881 GB, free: 16.31 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008485/20.55, allocations: 227.9 kB / 6.881 GB, free: 16.2 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00783/20.56, allocations: 4.067 MB / 6.885 GB, free: 15.98 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.145e-05/20.56, allocations: 28.3 kB / 6.885 GB, free: 15.97 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.168e-05/20.56, allocations: 3.656 kB / 6.885 GB, free: 15.97 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005599/20.57, allocations: 3.469 MB / 6.889 GB, free: 15.51 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01326/20.58, allocations: 6.434 MB / 6.895 GB, free: 15.02 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.297e-05/20.58, allocations: 0 / 6.895 GB, free: 15.02 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001534/20.58, allocations: 326.3 kB / 6.895 GB, free: 15.02 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004732/20.59, allocations: 1.267 MB / 6.897 GB, free: 14.96 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004897/20.59, allocations: 71.53 kB / 6.897 GB, free: 14.96 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009554/20.6, allocations: 10.59 MB / 6.907 GB, free: 23.04 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/20.6, allocations: 2.062 kB / 6.907 GB, free: 23.04 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01114/20.61, allocations: 5.276 MB / 6.912 GB, free: 22.64 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002233/20.61, allocations: 0.6451 MB / 6.913 GB, free: 22.3 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009833/20.61, allocations: 59.44 kB / 6.913 GB, free: 22.27 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002719/20.61, allocations: 149.9 kB / 6.913 GB, free: 22.23 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006184/20.62, allocations: 176.9 kB / 6.913 GB, free: 22.2 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003876/20.62, allocations: 79.2 kB / 6.913 GB, free: 22.19 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002642/20.62, allocations: 1.266 MB / 6.914 GB, free: 21.7 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.382e-06/20.62, allocations: 0 / 6.914 GB, free: 21.7 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.008973/20.63, allocations: 1.985 MB / 6.916 GB, free: 21.45 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 (184): * Single equations (assignments): 170 * 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%) 2,(1,100.0%) 6,(1,100.0%) 2} * Non-linear torn systems: 3 {1 9,2 8,6 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.005075/20.63, allocations: 1.361 MB / 6.918 GB, free: 21.19 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01238/20.65, allocations: 6.135 MB / 6.924 GB, free: 18.54 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/20.65, allocations: 0 / 6.924 GB, free: 18.54 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.004519/20.65, allocations: 2.273 MB / 6.926 GB, free: 17.45 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005449/20.66, allocations: 0.9288 MB / 6.927 GB, free: 17.25 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01468/20.67, allocations: 6.644 MB / 6.933 GB, free: 14.26 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00314/20.67, allocations: 1.938 MB / 6.935 GB, free: 13.41 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.006572/20.68, allocations: 1.218 MB / 6.936 GB, free: 13.34 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001175/20.68, allocations: 210.4 kB / 6.937 GB, free: 13.32 MB / 0.573 GB Notification: Performance of SimCode: time 1.583e-06/20.68, allocations: 0 / 6.937 GB, free: 13.32 MB / 0.573 GB Notification: Performance of Templates: time 0.1102/20.79, allocations: 64.09 MB / 6.999 GB, free: 3.043 MB / 0.573 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe 2>&1)