Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.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) 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: "" <> buildModelFMU(Modelica.Fluid.Examples.Explanatory.MeasuringTemperature,fileNamePrefix="Modelica_trunk_Modelica_Fluid_Examples_Explanatory_MeasuringTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Fluid.Examples.Explanatory.MeasuringTemperature,fileNamePrefix="Modelica_trunk_Modelica_Fluid_Examples_Explanatory_MeasuringTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001459/0.001459, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.564/1.564, allocations: 225.4 MB / 240.1 MB, free: 15.05 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00122/0.00122, allocations: 87.88 kB / 292.1 MB, free: 5.996 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.693e-05/3.702e-05, allocations: 0 / 350.6 MB, free: 2.469 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1305, allocations: 51.48 MB / 402.1 MB, free: 14.94 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.526/8.657, allocations: 2.762 GB / 3.155 GB, free: 49.87 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002287/8.657, allocations: 81.39 kB / 3.155 GB, free: 49.84 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.296/12.95, allocations: 0.9766 GB / 4.131 GB, free: 32.99 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.374e-06/12.95, allocations: 0 / 4.131 GB, free: 32.99 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002416/12.95, allocations: 62.39 kB / 4.131 GB, free: 32.99 MB / 0.4948 GB 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.01585/12.97, allocations: 3.402 MB / 4.135 GB, free: 31.55 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/12.97, allocations: 13.31 kB / 4.135 GB, free: 31.55 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009547/12.97, allocations: 269.5 kB / 4.135 GB, free: 31.5 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0139/12.98, allocations: 1.242 MB / 4.136 GB, free: 31.39 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005152/12.99, allocations: 1.527 MB / 4.138 GB, free: 31.01 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003103/12.99, allocations: 346.7 kB / 4.138 GB, free: 30.82 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000499/12.99, allocations: 187.5 kB / 4.138 GB, free: 30.81 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007472/13, allocations: 3.472 MB / 4.142 GB, free: 30.39 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.205e-05/13, allocations: 7.625 kB / 4.142 GB, free: 30.39 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002995/13, allocations: 85.05 kB / 4.142 GB, free: 30.39 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001356/13, allocations: 105.7 kB / 4.142 GB, free: 30.38 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006791/13.01, allocations: 3.31 MB / 4.145 GB, free: 30.36 MB / 0.4948 GB 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.02527/13.03, allocations: 14.42 MB / 4.159 GB, free: 23.3 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005736/13.04, allocations: 2.694 MB / 4.162 GB, free: 23.24 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001737/13.04, allocations: 1.273 MB / 4.163 GB, free: 23.23 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01702/13.06, allocations: 8.981 MB / 4.172 GB, free: 17.49 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.208e-05/13.06, allocations: 60.91 kB / 4.172 GB, free: 17.45 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003811/13.06, allocations: 0.5745 MB / 4.172 GB, free: 17.36 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=175): time 5.069e-06/13.06, allocations: 1.25 kB / 4.172 GB, free: 17.36 MB / 0.4948 GB Notification: Performance of matching and sorting (n=205): time 0.03063/13.09, allocations: 10.12 MB / 4.182 GB, free: 16.53 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.386e-05/13.09, allocations: 151.3 kB / 4.182 GB, free: 16.38 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00184/13.09, allocations: 1.216 MB / 4.184 GB, free: 16.2 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.00031/13.09, allocations: 64.45 kB / 4.184 GB, free: 16.17 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004801/13.09, allocations: 0.7843 MB / 4.184 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006274/13.09, allocations: 0.6742 MB / 4.185 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001792/13.09, allocations: 43.56 kB / 4.185 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000159/13.09, allocations: 389.9 kB / 4.185 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001641/13.1, allocations: 1.102 MB / 4.187 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001838/13.1, allocations: 1.531 MB / 4.188 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001706/13.1, allocations: 1.211 MB / 4.189 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.358e-06/13.1, allocations: 3.188 kB / 4.189 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of matching and sorting (n=272) (initialization): time 0.006075/13.1, allocations: 3.605 MB / 4.193 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.854e-05/13.1, allocations: 7.625 kB / 4.193 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/13.1, allocations: 12.53 kB / 4.193 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004186/13.11, allocations: 1.544 MB / 4.194 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002004/13.11, allocations: 458.2 kB / 4.195 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005435/13.12, allocations: 6.594 MB / 4.201 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0029/13.12, allocations: 221.2 kB / 4.201 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002578/13.12, allocations: 112 kB / 4.201 GB, free: 25.59 MB / 0.5105 GB 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.0006345/13.12, allocations: 253.9 kB / 4.202 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003849/13.12, allocations: 195.6 kB / 4.202 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01202/13.13, allocations: 9.643 MB / 4.211 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.863e-05/13.13, allocations: 103.3 kB / 4.211 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/13.13, allocations: 5.531 kB / 4.211 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.311e-05/13.13, allocations: 15.27 kB / 4.211 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01599/13.15, allocations: 13.14 MB / 4.224 GB, free: 23.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/13.15, allocations: 4.188 kB / 4.224 GB, free: 23.41 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001717/13.15, allocations: 403.5 kB / 4.225 GB, free: 23.41 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006142/13.16, allocations: 4.693 MB / 4.229 GB, free: 23.21 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004143/13.16, allocations: 60.22 kB / 4.229 GB, free: 23.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008177/13.17, allocations: 8.752 MB / 4.238 GB, free: 18.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/13.17, allocations: 0 / 4.238 GB, free: 18.45 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01284/13.18, allocations: 10.24 MB / 4.248 GB, free: 17.68 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002283/13.18, allocations: 0.9063 MB / 4.249 GB, free: 17.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004823/13.18, allocations: 45.11 kB / 4.249 GB, free: 17.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002157/13.18, allocations: 237.6 kB / 4.249 GB, free: 17.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004775/13.18, allocations: 229.5 kB / 4.249 GB, free: 17.29 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000197/13.18, allocations: 85.98 kB / 4.249 GB, free: 17.29 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001843/13.19, allocations: 1.234 MB / 4.25 GB, free: 16.84 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.51e-07/13.19, allocations: 0 / 4.25 GB, free: 16.84 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008778/13.19, allocations: 1.934 MB / 4.252 GB, free: 16.43 MB / 0.5105 GB 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.0236/13.22, allocations: 12.22 MB / 4.264 GB, free: 11.34 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00801/13.23, allocations: 3.912 MB / 4.268 GB, free: 9.922 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.151e-05/13.23, allocations: 0.5625 kB / 4.268 GB, free: 9.918 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005745/13.23, allocations: 2.972 MB / 4.271 GB, free: 8.66 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005889/13.24, allocations: 1.041 MB / 4.272 GB, free: 8.465 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01922/13.26, allocations: 7.707 MB / 4.28 GB, free: 5.332 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001773/13.26, allocations: 2.225 MB / 4.282 GB, free: 4.289 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003793/13.26, allocations: 1.74 MB / 4.283 GB, free: 3.312 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002005/13.27, allocations: 1.324 MB / 4.285 GB, free: 2.102 MB / 0.5105 GB Notification: Performance of SimCode: time 1.092e-06/13.27, allocations: 4 kB / 4.285 GB, free: 2.098 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6295/13.89, allocations: 129.2 MB / 4.411 GB, free: 46.41 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001948/13.89, allocations: 223.6 kB / 4.411 GB, free: 46.18 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.975/20.87, allocations: 3.062 kB / 4.411 GB, free: 46.18 MB / 0.5261 GB (rm -f Modelica_trunk_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.pipe ; mkfifo Modelica_trunk_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.pipe >> ../files/Modelica_trunk_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature_res.mat --tempDir=temp_Modelica_trunk_Modelica_Fluid_Examples_Explanatory_MeasuringTemperature_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Fluid_Examples_Explanatory_MeasuringTemperature.fmu > Modelica_trunk_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature.pipe 2>&1)