Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.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.TestExamplesVariants.HeatingSystem_FixedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial") translateModel(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001138/0.001138, allocations: 170.5 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.475/1.475, allocations: 170.6 MB / 183.8 MB, free: 11.48 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.001804/0.001804, allocations: 103.5 kB / 223.2 MB, free: 4.109 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.2113/0.2113, allocations: 38 MB / 300.4 MB, free: 5.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.086e-05/4.088e-05, allocations: 4 kB / 357 MB, free: 32.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1122, allocations: 48.71 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.391/6.503, allocations: 2.56 GB / 2.956 GB, free: 50.48 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00025/6.504, allocations: 74.91 kB / 2.956 GB, free: 50.45 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.571/10.07, allocations: 0.9967 GB / 3.953 GB, free: 24.38 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.613e-06/10.07, allocations: 0 / 3.953 GB, free: 24.38 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001834/10.07, allocations: 76.38 kB / 3.953 GB, free: 24.36 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 670 * Number of variables: 670 Notification: Performance of Generate backend data structure: time 0.01373/10.09, allocations: 4.265 MB / 3.957 GB, free: 22.36 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/10.09, allocations: 10.5 kB / 3.957 GB, free: 22.36 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007836/10.1, allocations: 0.981 MB / 3.958 GB, free: 22.2 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006006/10.1, allocations: 2.254 MB / 3.96 GB, free: 21.71 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002622/10.1, allocations: 284.5 kB / 3.96 GB, free: 21.64 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000699/10.1, allocations: 248.6 kB / 3.96 GB, free: 21.64 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008093/10.11, allocations: 4.46 MB / 3.965 GB, free: 21.04 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.146e-05/10.11, allocations: 12.56 kB / 3.965 GB, free: 21.04 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003338/10.11, allocations: 107.9 kB / 3.965 GB, free: 21.04 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002239/10.11, allocations: 225.8 kB / 3.965 GB, free: 21.03 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007687/10.12, allocations: 4.044 MB / 3.969 GB, free: 20.99 MB / 474.7 MB Warning: The model contains alias variables with conflicting start and/or 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.02206/10.14, allocations: 19.02 MB / 3.988 GB, free: 10.16 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005077/10.15, allocations: 2.772 MB / 3.99 GB, free: 10.1 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00183/10.15, allocations: 1.484 MB / 3.992 GB, free: 10.09 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02923/10.18, allocations: 17.05 MB / 4.008 GB, free: 15.25 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.354e-05/10.18, allocations: 62.62 kB / 4.009 GB, free: 15.2 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001733/10.18, allocations: 237.4 kB / 4.009 GB, free: 15.09 MB / 490.7 MB Notification: Performance of pre-optimization done (n=194): time 4.538e-06/10.18, allocations: 4 kB / 4.009 GB, free: 15.09 MB / 490.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pump.medium.p 2: tank.medium.h 3: heater.mediums[1].p 4: pump.medium.h Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=215): time 0.03945/10.22, allocations: 13.11 MB / 4.022 GB, free: 13.94 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.032e-05/10.22, allocations: 127.6 kB / 4.022 GB, free: 13.81 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002217/10.22, allocations: 1.66 MB / 4.023 GB, free: 13.56 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002412/10.22, allocations: 68.33 kB / 4.023 GB, free: 13.53 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005934/10.22, allocations: 1.14 MB / 4.024 GB, free: 13.05 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005183/10.22, allocations: 0.731 MB / 4.025 GB, free: 12.59 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001627/10.22, allocations: 55.38 kB / 4.025 GB, free: 12.58 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001888/10.22, allocations: 397.4 kB / 4.026 GB, free: 12.28 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001791/10.23, allocations: 1.321 MB / 4.027 GB, free: 12.27 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001831/10.23, allocations: 1.822 MB / 4.029 GB, free: 11.73 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001886/10.23, allocations: 1.532 MB / 4.03 GB, free: 11.67 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.969e-06/10.23, allocations: 5.719 kB / 4.03 GB, free: 11.67 MB / 490.7 MB Notification: Performance of matching and sorting (n=306) (initialization): time 0.00612/10.24, allocations: 4.052 MB / 4.034 GB, free: 10.41 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001652/10.24, allocations: 5.531 MB / 4.04 GB, free: 4.461 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.89e-05/10.24, allocations: 16 kB / 4.04 GB, free: 4.445 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003911/10.24, allocations: 1.142 MB / 4.041 GB, free: 3.547 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002537/10.24, allocations: 0.5303 MB / 4.041 GB, free: 3.094 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004752/10.25, allocations: 5.709 MB / 4.047 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003117/10.25, allocations: 319 kB / 4.047 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004022/10.25, allocations: 115.8 kB / 4.047 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/10.25, allocations: 10.91 kB / 4.047 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006006/10.26, allocations: 3.503 MB / 4.051 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.804e-05/10.26, allocations: 12.97 kB / 4.051 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001959/10.26, allocations: 0.6345 MB / 4.051 GB, free: 9.543 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002484/10.26, allocations: 0.5978 MB / 4.052 GB, free: 9.035 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007295/10.27, allocations: 8.467 MB / 4.06 GB, free: 0.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003189/10.27, allocations: 313.3 kB / 4.06 GB, free: 268 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002732/10.27, allocations: 111.3 kB / 4.061 GB, free: 164 kB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 19 (radiator.state_b.phase,radiator.state_a.phase,heater.state_b.phase,heater.state_a.phase,tank.heatTransfer.states[1].phase,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],pump.heatTransfer.states[1].phase,heater.statesFM[2].phase,radiator.statesFM[2].phase,pipe.statesFM[1].phase,pipe.statesFM[2].phase,pipe.state_b.phase,pipe.state_a.phase,valve.state_b.phase,valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (265): * Single equations (assignments): 257 * 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: 0 * Non-linear torn systems: 8 {1 5,1 1,2 7,1 1,4 14,1 1,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.2943/10.57, allocations: 246.8 kB / 4.061 GB, free: 53.24 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007159/10.57, allocations: 233 kB / 4.061 GB, free: 53.24 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01213/10.58, allocations: 9.369 MB / 4.07 GB, free: 52.62 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.281e-05/10.58, allocations: 108.4 kB / 4.07 GB, free: 52.62 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.325e-06/10.58, allocations: 3.875 kB / 4.07 GB, free: 52.62 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009927/10.59, allocations: 8.258 MB / 4.078 GB, free: 51.71 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01701/10.61, allocations: 13.61 MB / 4.092 GB, free: 50.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.114e-05/10.61, allocations: 0 / 4.092 GB, free: 50.93 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00162/10.61, allocations: 404.5 kB / 4.092 GB, free: 50.93 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005334/10.61, allocations: 2.676 MB / 4.095 GB, free: 50.81 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003015/10.61, allocations: 73.61 kB / 4.095 GB, free: 50.81 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00456/10.62, allocations: 6.931 MB / 4.101 GB, free: 46.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/10.62, allocations: 5.75 kB / 4.101 GB, free: 46.66 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01143/10.63, allocations: 9.965 MB / 4.111 GB, free: 45.93 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002497/10.63, allocations: 0.8225 MB / 4.112 GB, free: 45.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006206/10.63, allocations: 58 kB / 4.112 GB, free: 45.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001903/10.64, allocations: 262.3 kB / 4.112 GB, free: 45.64 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003799/10.64, allocations: 202.5 kB / 4.112 GB, free: 45.63 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000184/10.64, allocations: 85.3 kB / 4.113 GB, free: 45.63 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001817/10.64, allocations: 1.317 MB / 4.114 GB, free: 45.47 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.71e-07/10.64, allocations: 1.969 kB / 4.114 GB, free: 45.47 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01068/10.65, allocations: 3.071 MB / 4.117 GB, free: 45.46 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (tank.medium.h,tank.level,heater.mediums[1].p,heater.mediums[1].h,radiator.mediums[1].p,radiator.mediums[1].h,pipe.mediums[1].p,pipe.mediums[1].h,pipe.mediums[2].p,pipe.mediums[2].h) * Number of discrete variables: 58 ($cse3.phase,$cse3.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.region3boundary,$cse9.region3boundary,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.region3boundary,$cse20.region3boundary,$cse21.phase,$cse21.region,$cse24.phase,$cse24.region,$cse25.phase,$cse25.region,$cse26.region3boundary,$cse27.region3boundary,$cse28.phase,$cse28.region,$cse31.phase,$cse31.region,$cse32.phase,$cse32.region,$cse35.phase,$cse35.region,$cse38.region3boundary,$cse39.region3boundary,$cse40.phase,$cse40.region,$cse41.region3boundary,$cse42.region3boundary,$cse43.phase,$cse43.region,$cse45.phase,$cse45.region,tank.heatTransfer.states[1].phase,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],pump.heatTransfer.states[1].phase,heater.statesFM[2].phase,radiator.statesFM[2].phase,pipe.statesFM[1].phase,pipe.statesFM[2].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (208): * Single equations (assignments): 175 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 25 * 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: 0 * Non-linear torn systems: 8 {2 4,1 1,2 9,1 1,4 18,1 1,1 10,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01269/10.66, allocations: 3.069 MB / 4.12 GB, free: 45.13 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01082/10.67, allocations: 6.423 MB / 4.126 GB, free: 44.68 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/10.67, allocations: 5.328 kB / 4.126 GB, free: 44.68 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004331/10.68, allocations: 2.972 MB / 4.129 GB, free: 44.64 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005758/10.68, allocations: 1.082 MB / 4.13 GB, free: 44.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01186/10.69, allocations: 7.37 MB / 4.137 GB, free: 43.24 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001719/10.7, allocations: 2.578 MB / 4.14 GB, free: 42.45 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.005873/10.7, allocations: 3.289 MB / 4.143 GB, free: 42.41 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000647/10.7, allocations: 182.5 kB / 4.143 GB, free: 42.4 MB / 0.4948 GB Notification: Performance of SimCode: time 1.082e-06/10.7, allocations: 0 / 4.143 GB, free: 42.4 MB / 0.4948 GB Notification: Performance of Templates: time 0.451/11.15, allocations: 107.1 MB / 4.248 GB, free: 68.21 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.pipe 2>&1)