Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001656/0.001655, allocations: 197.2 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.556/1.556, allocations: 225.4 MB / 240.1 MB, free: 15.18 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001041/0.001041, allocations: 90.3 kB / 292.1 MB, free: 5.938 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.17e-05/4.176e-05, allocations: 7.984 kB / 350.6 MB, free: 2.477 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1534, allocations: 51.48 MB / 402.1 MB, free: 14.95 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4095/0.563, allocations: 81.96 MB / 484.1 MB, free: 7.562 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/0.5633, allocations: 70.75 kB / 484.2 MB, free: 7.527 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04565/0.609, allocations: 19.1 MB / 0.4915 GB, free: 6.016 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.609, allocations: 0 / 0.4915 GB, free: 6.016 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.156e-05/0.6091, allocations: 23.94 kB / 0.4915 GB, free: 5.992 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.002004/0.6111, allocations: 1.154 MB / 0.4926 GB, free: 4.781 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.6111, allocations: 12.03 kB / 0.4926 GB, free: 4.77 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001823/0.6113, allocations: 116.4 kB / 0.4927 GB, free: 4.645 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00021/0.6115, allocations: 131.5 kB / 0.4929 GB, free: 4.516 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001009/0.6125, allocations: 0.5943 MB / 0.4934 GB, free: 3.883 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002229/0.6128, allocations: 163 kB / 0.4936 GB, free: 3.707 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/0.6129, allocations: 72.84 kB / 0.4937 GB, free: 3.637 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00133/0.6142, allocations: 0.9239 MB / 0.4946 GB, free: 2.594 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/0.6143, allocations: 0 / 0.4946 GB, free: 2.594 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-05/0.6143, allocations: 32 kB / 0.4946 GB, free: 2.562 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.434e-05/0.6144, allocations: 20 kB / 0.4946 GB, free: 2.543 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001022/0.6154, allocations: 0.5701 MB / 0.4952 GB, free: 1.973 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004012/0.6194, allocations: 2.59 MB / 0.4977 GB, free: 15.25 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002605/0.622, allocations: 0.8848 MB / 0.4986 GB, free: 14.33 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000544/0.6226, allocations: 323.2 kB / 0.4989 GB, free: 14.02 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.998e-05/0.6227, allocations: 25.78 kB / 0.4989 GB, free: 13.99 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.438e-05/0.6227, allocations: 51.3 kB / 0.4989 GB, free: 13.93 MB / 378.7 MB Notification: Performance of pre-optimization done (n=74): time 2.244e-06/0.6227, allocations: 0 / 0.4989 GB, free: 13.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=74): time 0.001491/0.6242, allocations: 0.7258 MB / 0.4996 GB, free: 13.18 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004342/0.6247, allocations: 0.9564 MB / 0.5006 GB, free: 12 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009241/0.6256, allocations: 0.6764 MB / 0.5012 GB, free: 11.32 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.783e-05/0.6257, allocations: 45.7 kB / 0.5013 GB, free: 11.27 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003601/0.6261, allocations: 416.5 kB / 0.5017 GB, free: 10.86 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000265/0.6264, allocations: 264.1 kB / 0.5019 GB, free: 10.6 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-05/0.6264, allocations: 16 kB / 0.502 GB, free: 10.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.6266, allocations: 337.9 kB / 0.5023 GB, free: 10.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004341/0.627, allocations: 235.9 kB / 0.5025 GB, free: 10.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006909/0.6277, allocations: 0.5467 MB / 0.503 GB, free: 9.348 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005539/0.6283, allocations: 365.5 kB / 0.5034 GB, free: 8.977 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.6283, allocations: 0 / 0.5034 GB, free: 8.977 MB / 378.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001666/0.6299, allocations: 0.9301 MB / 0.5043 GB, free: 8.008 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.39e-05/0.63, allocations: 89.09 kB / 0.5044 GB, free: 7.902 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.6301, allocations: 0 / 0.5044 GB, free: 7.902 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000599/0.6307, allocations: 172.1 kB / 0.5045 GB, free: 7.719 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007428/0.6314, allocations: 167.8 kB / 0.5047 GB, free: 7.555 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006329/0.6378, allocations: 6.799 MB / 0.5113 GB, free: 84 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009178/0.6387, allocations: 111.4 kB / 0.5114 GB, free: 15.97 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000121/0.6388, allocations: 27.98 kB / 0.5115 GB, free: 15.94 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 4 {1 3,1 1,1 3,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002523/0.6391, allocations: 172.6 kB / 0.5116 GB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002379/0.6393, allocations: 98.88 kB / 0.5117 GB, free: 15.67 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002602/0.6396, allocations: 101.6 kB / 0.5118 GB, free: 15.57 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.6396, allocations: 8 kB / 0.5118 GB, free: 15.56 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.879e-06/0.6396, allocations: 0 / 0.5118 GB, free: 15.56 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001181/0.6408, allocations: 0.9261 MB / 0.5127 GB, free: 14.53 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002859/0.6437, allocations: 1.715 MB / 0.5144 GB, free: 12.74 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.231e-06/0.6437, allocations: 3.953 kB / 0.5144 GB, free: 12.73 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008312/0.6446, allocations: 167.8 kB / 0.5146 GB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001068/0.6447, allocations: 28.84 kB / 0.5146 GB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.271e-05/0.6447, allocations: 12 kB / 0.5146 GB, free: 12.53 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009816/0.6457, allocations: 1.314 MB / 0.5159 GB, free: 11.08 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.6457, allocations: 0 / 0.5159 GB, free: 11.08 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00164/0.6474, allocations: 1.014 MB / 0.5169 GB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004727/0.6479, allocations: 255.8 kB / 0.5171 GB, free: 9.777 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001777/0.6481, allocations: 20.06 kB / 0.5172 GB, free: 9.758 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006084/0.6487, allocations: 51.91 kB / 0.5172 GB, free: 9.707 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.6488, allocations: 44.72 kB / 0.5172 GB, free: 9.664 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-05/0.6488, allocations: 19.98 kB / 0.5173 GB, free: 9.645 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007628/0.6496, allocations: 0.5304 MB / 0.5178 GB, free: 9.121 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.6496, allocations: 0 / 0.5178 GB, free: 9.121 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009101/0.6505, allocations: 311.6 kB / 0.5181 GB, free: 8.816 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (heatCapacitor.T,pipe1.T,outerPipe.T,innerPipe.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 71 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002131/0.6527, allocations: 1.598 MB / 0.5196 GB, free: 7.188 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002532/0.6552, allocations: 1.363 MB / 0.521 GB, free: 5.723 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.6552, allocations: 3.938 kB / 0.521 GB, free: 5.719 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000611/0.6559, allocations: 407.3 kB / 0.5214 GB, free: 5.309 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001226/0.6571, allocations: 250.1 kB / 0.5216 GB, free: 5.074 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003542/0.6607, allocations: 1.449 MB / 0.523 GB, free: 3.59 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007275/0.6614, allocations: 1.007 MB / 0.524 GB, free: 2.551 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006149/0.662, allocations: 123.3 kB / 0.5241 GB, free: 2.426 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005396/0.6626, allocations: 359.3 kB / 0.5245 GB, free: 2.074 MB / 394.7 MB Notification: Performance of SimCode: time 1.153e-06/0.6626, allocations: 0 / 0.5245 GB, free: 2.074 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05004/0.7126, allocations: 23.97 MB / 0.5479 GB, free: 10.62 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002868/0.713, allocations: 195 kB / 0.5481 GB, free: 10.4 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.817/3.53, allocations: 4.062 kB / 0.5481 GB, free: 10.39 MB / 426.7 MB (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling_fmu --startTime=0 --stopTime=1.5 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat does not exist to compare? outputFormat=mat