Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestExamplesVariants_HeatingSystem_FixedInitial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01522/0.01522, allocations: 173.8 kB / 15.12 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.075/2.075, allocations: 194.5 MB / 210.3 MB, free: 7.613 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002136/0.002136, allocations: 120.6 kB / 255.6 MB, free: 10.24 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2685/0.2685, allocations: 40.01 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004787/0.0004787, allocations: 9.938 kB / 406.3 MB, free: 51.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1058, allocations: 54.87 MB / 461.1 MB, free: 3.215 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.334/8.44, allocations: 2.67 GB / 3.121 GB, free: 73.54 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003319/8.441, allocations: 82.75 kB / 3.121 GB, free: 73.54 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.372/13.81, allocations: 1.025 GB / 4.146 GB, free: 34.68 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.506e-06/13.81, allocations: 1.125 kB / 4.146 GB, free: 34.68 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0003421/13.81, allocations: 74.53 kB / 4.146 GB, free: 34.67 MB / 0.5261 GB 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.02294/13.84, allocations: 4.697 MB / 4.15 GB, free: 32.46 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.401e-05/13.84, allocations: 13.62 kB / 4.15 GB, free: 32.45 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002621/13.84, allocations: 426.8 kB / 4.151 GB, free: 32.39 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01249/13.85, allocations: 1.032 MB / 4.152 GB, free: 32.22 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00975/13.86, allocations: 2.267 MB / 4.154 GB, free: 31.74 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005206/13.86, allocations: 287.6 kB / 4.154 GB, free: 31.67 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001436/13.86, allocations: 249.5 kB / 4.155 GB, free: 31.67 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0178/13.88, allocations: 4.506 MB / 4.159 GB, free: 31.07 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001521/13.88, allocations: 10.22 kB / 4.159 GB, free: 31.06 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001212/13.88, allocations: 112.7 kB / 4.159 GB, free: 31.06 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004349/13.88, allocations: 220.3 kB / 4.159 GB, free: 31.05 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0173/13.9, allocations: 4.21 MB / 4.163 GB, free: 31.02 MB / 0.5261 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.04211/13.94, allocations: 19.03 MB / 4.182 GB, free: 20.18 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01139/13.95, allocations: 2.889 MB / 4.185 GB, free: 20.13 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05329/14.01, allocations: 17 MB / 4.201 GB, free: 25.61 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.743e-05/14.01, allocations: 57.97 kB / 4.202 GB, free: 25.57 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002648/14.01, allocations: 235 kB / 4.202 GB, free: 25.46 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=194): time 8.726e-06/14.01, allocations: 2.812 kB / 4.202 GB, free: 25.46 MB / 0.5417 GB 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: heater.mediums[1].p 3: tank.medium.h 4: pump.medium.h Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=215): time 0.106/14.12, allocations: 17.85 MB / 4.219 GB, free: 23.04 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001354/14.12, allocations: 137.8 kB / 4.219 GB, free: 22.9 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003804/14.12, allocations: 1.68 MB / 4.221 GB, free: 22.67 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0008608/14.12, allocations: 66.83 kB / 4.221 GB, free: 22.64 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.001869/14.12, allocations: 1.149 MB / 4.222 GB, free: 22.16 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.002077/14.13, allocations: 0.7277 MB / 4.223 GB, free: 21.7 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008457/14.13, allocations: 48.44 kB / 4.223 GB, free: 21.7 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0004887/14.13, allocations: 403 kB / 4.223 GB, free: 21.39 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008174/14.13, allocations: 1.445 MB / 4.225 GB, free: 21.38 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008504/14.14, allocations: 1.938 MB / 4.227 GB, free: 20.84 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008375/14.15, allocations: 1.652 MB / 4.228 GB, free: 20.79 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.874e-05/14.15, allocations: 3.625 kB / 4.228 GB, free: 20.79 MB / 0.5417 GB Notification: Performance of matching and sorting (n=306) (initialization): time 0.02363/14.18, allocations: 4.322 MB / 4.232 GB, free: 20.5 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.002969/14.18, allocations: 5.542 MB / 4.238 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.641e-05/14.18, allocations: 12.84 kB / 4.238 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01185/14.19, allocations: 1.209 MB / 4.239 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007173/14.2, allocations: 0.5275 MB / 4.24 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01098/14.21, allocations: 5.755 MB / 4.245 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007392/14.22, allocations: 317.3 kB / 4.245 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001102/14.22, allocations: 119.8 kB / 4.246 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/14.22, allocations: 7.875 kB / 4.246 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02156/14.24, allocations: 3.747 MB / 4.249 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.135e-05/14.24, allocations: 10.59 kB / 4.249 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005299/14.24, allocations: 0.6622 MB / 4.25 GB, free: 10.16 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007895/14.25, allocations: 0.593 MB / 4.25 GB, free: 10.15 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01617/14.27, allocations: 8.561 MB / 4.259 GB, free: 19.48 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007121/14.28, allocations: 307.9 kB / 4.259 GB, free: 19.44 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000837/14.28, allocations: 110.1 kB / 4.259 GB, free: 19.44 MB / 0.5573 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 () * Number of clocked 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.003592/14.28, allocations: 0.8089 MB / 4.26 GB, free: 19.23 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001125/14.28, allocations: 236.1 kB / 4.26 GB, free: 19.11 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03186/14.31, allocations: 9.464 MB / 4.27 GB, free: 17.95 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001915/14.31, allocations: 104 kB / 4.27 GB, free: 17.92 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-05/14.31, allocations: 0 / 4.27 GB, free: 17.92 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02697/14.34, allocations: 8.338 MB / 4.278 GB, free: 14.15 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05268/14.39, allocations: 13.74 MB / 4.291 GB, free: 3.941 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.286e-05/14.39, allocations: 0 / 4.291 GB, free: 3.941 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005924/14.4, allocations: 403 kB / 4.292 GB, free: 3.617 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01665/14.42, allocations: 2.314 MB / 4.294 GB, free: 1.746 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008724/14.42, allocations: 81.41 kB / 4.294 GB, free: 1.68 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4426/14.86, allocations: 6.995 MB / 4.301 GB, free: 60.22 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/14.86, allocations: 4.281 kB / 4.301 GB, free: 60.22 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02724/14.89, allocations: 10.33 MB / 4.311 GB, free: 59.61 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003097/14.89, allocations: 0.8241 MB / 4.312 GB, free: 59.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001045/14.89, allocations: 59.03 kB / 4.312 GB, free: 59.52 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004478/14.9, allocations: 268 kB / 4.312 GB, free: 59.52 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001101/14.9, allocations: 201.6 kB / 4.312 GB, free: 59.52 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004354/14.9, allocations: 86.2 kB / 4.312 GB, free: 59.52 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.003568/14.9, allocations: 1.337 MB / 4.314 GB, free: 59.37 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.81e-07/14.9, allocations: 3.906 kB / 4.314 GB, free: 59.37 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01534/14.92, allocations: 3.096 MB / 4.317 GB, free: 59.37 MB / 0.5573 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 () * Number of clocked 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.04008/14.96, allocations: 13.22 MB / 4.329 GB, free: 57.82 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02108/14.98, allocations: 6.681 MB / 4.336 GB, free: 57.36 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.107e-06/14.98, allocations: 0 / 4.336 GB, free: 57.36 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.00843/14.99, allocations: 3.063 MB / 4.339 GB, free: 57.32 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009812/15, allocations: 1.079 MB / 4.34 GB, free: 57.3 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03609/15.03, allocations: 22.44 MB / 4.362 GB, free: 42.98 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003973/15.04, allocations: 2.59 MB / 4.364 GB, free: 42.19 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.008785/15.05, allocations: 3.079 MB / 4.367 GB, free: 42.14 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003336/15.05, allocations: 1.504 MB / 4.369 GB, free: 42.13 MB / 0.5573 GB Notification: Performance of SimCode: time 1.182e-06/15.05, allocations: 4.875 kB / 4.369 GB, free: 42.13 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7953/15.84, allocations: 134.8 MB / 4.501 GB, free: 65.2 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002544/15.84, allocations: 238.8 kB / 4.501 GB, free: 64.96 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.88/24.72, allocations: 0.5625 kB / 4.501 GB, free: 64.96 MB / 0.573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial_res.mat does not exist to compare? outputFormat=mat