Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.Explanatory.MeasuringTemperature,fileNamePrefix="Modelica_3_2_3_Modelica_Fluid_Examples_Explanatory_MeasuringTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Fluid.Examples.Explanatory.MeasuringTemperature,fileNamePrefix="Modelica_3_2_3_Modelica_Fluid_Examples_Explanatory_MeasuringTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001531/0.001531, allocations: 173 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.588/1.588, allocations: 205.2 MB / 219.8 MB, free: 14.2 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008588/0.0008588, allocations: 82.66 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.485e-05/2.489e-05, allocations: 0 / 322.5 MB, free: 17.26 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08922/0.08926, allocations: 47.57 MB / 370.1 MB, free: 1.625 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.464/6.553, allocations: 2.756 GB / 3.117 GB, free: 5.254 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002283/6.553, allocations: 84.55 kB / 3.118 GB, free: 5.172 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777/10.33, allocations: 0.966 GB / 4.083 GB, free: 29.59 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.715e-06/10.33, allocations: 0 / 4.083 GB, free: 29.59 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.00017/10.33, allocations: 51.94 kB / 4.084 GB, free: 29.58 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: 462 * Number of variables: 462 Notification: Performance of Generate backend data structure: time 0.01434/10.35, allocations: 3.396 MB / 4.087 GB, free: 27.86 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.801e-05/10.35, allocations: 10.25 kB / 4.087 GB, free: 27.86 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009664/10.35, allocations: 262.2 kB / 4.087 GB, free: 27.82 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01334/10.36, allocations: 1.232 MB / 4.088 GB, free: 27.7 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004218/10.36, allocations: 1.524 MB / 4.09 GB, free: 27.27 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002766/10.36, allocations: 348.6 kB / 4.09 GB, free: 27.07 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005035/10.36, allocations: 184 kB / 4.09 GB, free: 27.07 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007642/10.37, allocations: 3.482 MB / 4.094 GB, free: 26.63 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.279e-05/10.37, allocations: 7.094 kB / 4.094 GB, free: 26.62 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003438/10.37, allocations: 85.81 kB / 4.094 GB, free: 26.62 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001359/10.37, allocations: 104.9 kB / 4.094 GB, free: 26.62 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007075/10.38, allocations: 3.31 MB / 4.097 GB, free: 26.57 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.0215/10.4, allocations: 14.41 MB / 4.111 GB, free: 19.37 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005624/10.41, allocations: 2.696 MB / 4.114 GB, free: 19.31 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001873/10.41, allocations: 1.272 MB / 4.115 GB, free: 18.82 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01651/10.43, allocations: 8.277 MB / 4.123 GB, free: 13.51 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.354e-05/10.43, allocations: 62.47 kB / 4.123 GB, free: 13.45 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003577/10.43, allocations: 0.5681 MB / 4.124 GB, free: 13.29 MB / 474.7 MB Notification: Performance of pre-optimization done (n=175): time 1.018e-05/10.43, allocations: 0 / 4.124 GB, free: 13.29 MB / 474.7 MB Notification: Performance of matching and sorting (n=205): time 0.03266/10.46, allocations: 10.13 MB / 4.134 GB, free: 10.05 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.859e-05/10.46, allocations: 158.2 kB / 4.134 GB, free: 9.867 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002224/10.46, allocations: 1.21 MB / 4.135 GB, free: 8.777 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004846/10.47, allocations: 65.7 kB / 4.135 GB, free: 8.707 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005668/10.47, allocations: 0.7746 MB / 4.136 GB, free: 7.996 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007988/10.47, allocations: 0.6766 MB / 4.136 GB, free: 7.387 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002613/10.47, allocations: 44 kB / 4.137 GB, free: 7.344 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001606/10.47, allocations: 389.9 kB / 4.137 GB, free: 6.984 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001781/10.47, allocations: 1.098 MB / 4.138 GB, free: 5.988 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001891/10.47, allocations: 1.53 MB / 4.139 GB, free: 4.418 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001826/10.47, allocations: 1.21 MB / 4.141 GB, free: 3.383 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.023e-05/10.47, allocations: 4 kB / 4.141 GB, free: 3.379 MB / 474.7 MB Notification: Performance of matching and sorting (n=272) (initialization): time 0.006152/10.48, allocations: 3.599 MB / 4.144 GB, free: 192 kB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.285e-05/10.48, allocations: 12 kB / 4.144 GB, free: 180 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.183e-05/10.48, allocations: 12.06 kB / 4.144 GB, free: 168 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005263/10.48, allocations: 1.613 MB / 4.146 GB, free: 15.11 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002261/10.49, allocations: 460.8 kB / 4.146 GB, free: 14.73 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006494/10.49, allocations: 6.594 MB / 4.153 GB, free: 8.246 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003203/10.5, allocations: 224.9 kB / 4.153 GB, free: 8.066 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005734/10.5, allocations: 108.8 kB / 4.153 GB, free: 7.977 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 21 (openTankCold2.heatTransfer.states[1].phase,openTankCold2.regularFlow[1],openTankCold2.inFlow[1],openTankCold1.heatTransfer.states[1].phase,openTankCold1.regularFlow[1],openTankCold1.inFlow[1],openTankHot1.heatTransfer.states[1].phase,openTankHot1.regularFlow[1],openTankHot1.inFlow[1],openTankHot2.heatTransfer.states[1].phase,openTankHot2.regularFlow[1],openTankHot2.inFlow[1],mFlow1.medium.phase,mFlow2.medium.phase,openTankCold3.heatTransfer.states[1].phase,openTankCold3.regularFlow[1],openTankCold3.inFlow[1],openTankHot3.heatTransfer.states[1].phase,openTankHot3.regularFlow[1],openTankHot3.inFlow[1],mFlow3.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (213): * Single equations (assignments): 204 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 9 {1 5,1 5,4 6,1 5,1 5,4 6,1 5,1 5,6 6} Notification: Performance of prepare postOptimizeDAE: time 0.0009788/10.5, allocations: 250.9 kB / 4.153 GB, free: 7.727 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007385/10.5, allocations: 197.7 kB / 4.153 GB, free: 7.531 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3805/10.88, allocations: 9.665 MB / 4.163 GB, free: 43.55 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001475/10.88, allocations: 107.8 kB / 4.163 GB, free: 43.55 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.447e-05/10.88, allocations: 0.75 kB / 4.163 GB, free: 43.55 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-05/10.88, allocations: 12.53 kB / 4.163 GB, free: 43.55 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02012/10.9, allocations: 13.13 MB / 4.176 GB, free: 42.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.503e-05/10.9, allocations: 6.625 kB / 4.176 GB, free: 42.86 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001989/10.9, allocations: 399.6 kB / 4.176 GB, free: 42.86 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007091/10.91, allocations: 4.699 MB / 4.181 GB, free: 42.66 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005225/10.91, allocations: 57.91 kB / 4.181 GB, free: 42.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006531/10.92, allocations: 8.752 MB / 4.189 GB, free: 37.96 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/10.92, allocations: 6.516 kB / 4.189 GB, free: 37.96 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01189/10.93, allocations: 10.23 MB / 4.199 GB, free: 37.37 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002153/10.93, allocations: 0.9087 MB / 4.2 GB, free: 37.09 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004319/10.93, allocations: 42.44 kB / 4.2 GB, free: 37.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002043/10.93, allocations: 232.6 kB / 4.2 GB, free: 37.08 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00045/10.93, allocations: 231.8 kB / 4.201 GB, free: 37.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002051/10.93, allocations: 85.88 kB / 4.201 GB, free: 37.07 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001605/10.93, allocations: 1.234 MB / 4.202 GB, free: 36.91 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/10.93, allocations: 0 / 4.202 GB, free: 36.91 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007089/10.94, allocations: 1.914 MB / 4.204 GB, free: 36.91 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (openTankCold2.medium.h,openTankCold2.level,openTankCold1.medium.h,openTankCold1.level,openTankHot1.medium.h,openTankHot1.level,openTankHot2.medium.h,openTankHot2.level,openTankCold3.medium.h,openTankCold3.level,openTankHot3.medium.h,openTankHot3.level) * Number of discrete variables: 71 ($cse1.phase,$cse1.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse16.phase,$cse16.region,$cse18.phase,$cse18.region,$cse21.phase,$cse21.region,$cse23.phase,$cse23.region,$cse26.phase,$cse26.region,$cse28.phase,$cse28.region,$cse29.region3boundary,$cse30.region3boundary,$cse31.phase,$cse31.region,$cse32.phase,$cse32.region,$cse33.region3boundary,$cse34.region3boundary,$cse35.phase,$cse35.region,$cse36.phase,$cse36.region,$cse37.phase,$cse37.region,$cse41.phase,$cse41.region,$cse43.phase,$cse43.region,$cse46.phase,$cse46.region,$cse48.phase,$cse48.region,$cse49.region3boundary,$cse50.region3boundary,$cse51.phase,$cse51.region,$cse52.phase,$cse52.region,openTankCold2.heatTransfer.states[1].phase,openTankCold2.regularFlow[1],openTankCold2.inFlow[1],openTankCold1.heatTransfer.states[1].phase,openTankCold1.regularFlow[1],openTankCold1.inFlow[1],openTankHot1.heatTransfer.states[1].phase,openTankHot1.regularFlow[1],openTankHot1.inFlow[1],openTankHot2.heatTransfer.states[1].phase,openTankHot2.regularFlow[1],openTankHot2.inFlow[1],mFlow1.medium.phase,mFlow2.medium.phase,openTankCold3.heatTransfer.states[1].phase,openTankCold3.regularFlow[1],openTankCold3.inFlow[1],openTankHot3.heatTransfer.states[1].phase,openTankHot3.regularFlow[1],openTankHot3.inFlow[1],mFlow3.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (173): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 19 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 9 {2 4,2 4,6 9,2 4,2 4,6 9,2 4,2 4,6 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.02106/10.96, allocations: 12.21 MB / 4.216 GB, free: 35.52 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007718/10.97, allocations: 3.909 MB / 4.22 GB, free: 35.43 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.029e-05/10.97, allocations: 1.156 kB / 4.22 GB, free: 35.43 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005501/10.98, allocations: 2.972 MB / 4.223 GB, free: 35.37 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005657/10.98, allocations: 1.052 MB / 4.224 GB, free: 35.34 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01855/11, allocations: 7.702 MB / 4.231 GB, free: 33.98 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00214/11, allocations: 2.227 MB / 4.233 GB, free: 33.21 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003505/11.01, allocations: 1.744 MB / 4.235 GB, free: 33.17 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001756/11.01, allocations: 1.322 MB / 4.236 GB, free: 33.16 MB / 490.7 MB Notification: Performance of SimCode: time 1.372e-06/11.01, allocations: 4.281 kB / 4.236 GB, free: 33.16 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5575/11.57, allocations: 129.1 MB / 4.362 GB, free: 52.12 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001702/11.57, allocations: 230 kB / 4.363 GB, free: 51.9 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.296/17.86, allocations: 0 / 4.363 GB, free: 51.9 MB / 0.4948 GB (rm -f Modelica_3.2.3_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.pipe ; mkfifo Modelica_3.2.3_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.pipe >> ../files/Modelica_3.2.3_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Fluid_Examples_Explanatory_MeasuringTemperature_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Fluid_Examples_Explanatory_MeasuringTemperature.fmu > Modelica_3.2.3_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.pipe 2>&1)