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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.0008104/0.0008105, allocations: 99.17 kB / 17.01 MB, free: 6.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009841/0.0009842, allocations: 194.8 kB / 17.91 MB, free: 5.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.405/1.405, allocations: 227.4 MB / 246 MB, free: 10.26 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002336/0.0002338, allocations: 8 kB / 306.8 MB, free: 1.262 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1093, allocations: 51.49 MB / 358.3 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.005865/0.1152, allocations: 4.917 MB / 363.2 MB, free: 8.828 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003655/0.1189, allocations: 1.336 MB / 364.6 MB, free: 7.484 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005414/0.1195, allocations: 15.94 kB / 364.6 MB, free: 7.469 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005709/0.1201, allocations: 123 kB / 364.7 MB, free: 7.348 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008242/0.1209, allocations: 337.3 kB / 365 MB, free: 7.016 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000516/0.1215, allocations: 195.8 kB / 365.2 MB, free: 6.824 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001522/0.123, allocations: 1.202 MB / 366.4 MB, free: 5.617 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005217/0.1235, allocations: 331.2 kB / 366.7 MB, free: 5.281 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005673/0.1241, allocations: 458.3 kB / 367.2 MB, free: 4.832 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006193/0.1247, allocations: 0.5174 MB / 367.7 MB, free: 4.312 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002522/0.125, allocations: 76 kB / 367.8 MB, free: 4.238 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001648/0.1252, allocations: 80 kB / 367.9 MB, free: 4.16 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001927/0.1254, allocations: 203.2 kB / 368.1 MB, free: 3.961 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002359/0.1256, allocations: 241.1 kB / 368.3 MB, free: 3.719 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009462/0.1266, allocations: 1.017 MB / 369.3 MB, free: 2.699 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.1266, allocations: 4 kB / 369.3 MB, free: 2.695 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.916e-06/0.1266, allocations: 4 kB / 369.3 MB, free: 2.691 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.383e-05/0.1266, allocations: 3.938 kB / 369.3 MB, free: 2.688 MB / 302.1 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.002242/0.1289, allocations: 1.314 MB / 370.6 MB, free: 1.305 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.1289, allocations: 8.031 kB / 370.6 MB, free: 1.297 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002094/0.1291, allocations: 132.4 kB / 370.8 MB, free: 1.156 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001947/0.1293, allocations: 126.7 kB / 370.9 MB, free: 1.031 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001064/0.1304, allocations: 0.6063 MB / 371.5 MB, free: 392 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002291/0.1306, allocations: 167 kB / 371.7 MB, free: 208 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/0.1308, allocations: 68 kB / 371.7 MB, free: 140 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2128/0.3436, allocations: 0.9793 MB / 372.7 MB, free: 18.59 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.204e-05/0.3437, allocations: 0 / 372.7 MB, free: 18.59 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.355e-05/0.3437, allocations: 32.66 kB / 372.7 MB, free: 18.59 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.691e-05/0.3438, allocations: 16.69 kB / 372.8 MB, free: 18.59 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001529/0.3453, allocations: 0.6466 MB / 373.4 MB, free: 18.58 MB / 302.1 MB 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.004972/0.3503, allocations: 2.677 MB / 376.1 MB, free: 17.4 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002416/0.3527, allocations: 0.8787 MB / 377 MB, free: 17.03 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006681/0.3534, allocations: 363.9 kB / 377.3 MB, free: 16.9 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.98e-05/0.3535, allocations: 16.05 kB / 377.3 MB, free: 16.89 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.855e-05/0.3535, allocations: 51.61 kB / 377.4 MB, free: 16.84 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.395e-06/0.3535, allocations: 0 / 377.4 MB, free: 16.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.00248/0.356, allocations: 1.434 MB / 378.8 MB, free: 15.96 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000185/0.3562, allocations: 0.9496 MB / 379.8 MB, free: 14.8 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/0.3573, allocations: 0.7757 MB / 380.5 MB, free: 14.47 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.033e-05/0.3574, allocations: 49.73 kB / 380.6 MB, free: 14.42 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002796/0.3577, allocations: 418.1 kB / 381 MB, free: 14.11 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001948/0.3579, allocations: 251.8 kB / 381.2 MB, free: 13.92 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.685e-05/0.3579, allocations: 16.22 kB / 381.3 MB, free: 13.91 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.562e-05/0.358, allocations: 331.9 kB / 381.6 MB, free: 13.59 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005472/0.3585, allocations: 267.9 kB / 381.8 MB, free: 13.5 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008764/0.3594, allocations: 0.5957 MB / 382.4 MB, free: 13.02 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005869/0.36, allocations: 404 kB / 382.8 MB, free: 12.79 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.36, allocations: 1.125 kB / 382.8 MB, free: 12.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001751/0.3618, allocations: 0.9749 MB / 383.8 MB, free: 12.29 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.664e-05/0.3619, allocations: 92.27 kB / 383.9 MB, free: 12.19 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.3619, allocations: 0.5 kB / 383.9 MB, free: 12.19 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003244/0.3622, allocations: 128.2 kB / 384 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000716/0.3629, allocations: 156.6 kB / 384.2 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004433/0.3674, allocations: 6.785 MB / 391 MB, free: 5.359 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001201/0.3686, allocations: 122.2 kB / 391.1 MB, free: 5.301 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.029e-05/0.3687, allocations: 26.42 kB / 391.1 MB, free: 5.297 MB / 302.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 72 * 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 {3 1,1 1,3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004772/0.3692, allocations: 238.9 kB / 391.3 MB, free: 5.109 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002289/0.3694, allocations: 105.3 kB / 391.4 MB, free: 5.059 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001998/0.3696, allocations: 99.08 kB / 391.5 MB, free: 4.988 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/0.3696, allocations: 7.438 kB / 391.5 MB, free: 4.988 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.486e-05/0.3697, allocations: 4.812 kB / 391.6 MB, free: 4.984 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001489/0.3711, allocations: 0.991 MB / 392.5 MB, free: 4.258 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003278/0.3744, allocations: 1.779 MB / 394.3 MB, free: 3.348 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.3745, allocations: 0 / 394.3 MB, free: 3.348 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007945/0.3753, allocations: 155.6 kB / 394.5 MB, free: 3.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001134/0.3754, allocations: 25.98 kB / 394.5 MB, free: 3.328 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.565e-05/0.3755, allocations: 18.33 kB / 394.5 MB, free: 3.316 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008741/0.3763, allocations: 1.306 MB / 395.8 MB, free: 1.992 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.3763, allocations: 0.6094 kB / 395.8 MB, free: 1.992 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002274/0.3786, allocations: 1.108 MB / 396.9 MB, free: 1.465 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005007/0.3791, allocations: 261.6 kB / 397.2 MB, free: 1.258 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001227/0.3793, allocations: 20.31 kB / 397.2 MB, free: 1.246 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006091/0.3799, allocations: 48.11 kB / 397.3 MB, free: 1.234 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/0.38, allocations: 49.94 kB / 397.3 MB, free: 1.223 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.947e-05/0.3801, allocations: 21.98 kB / 397.3 MB, free: 1.219 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0009706/0.3811, allocations: 0.5467 MB / 397.9 MB, free: 0.9805 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3811, allocations: 0 / 397.9 MB, free: 0.9805 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001039/0.3821, allocations: 293.5 kB / 398.2 MB, free: 0.9375 MB / 302.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 69 * 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.002594/0.3847, allocations: 1.692 MB / 399.9 MB, free: 15.95 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002486/0.3872, allocations: 1.409 MB / 401.3 MB, free: 14.94 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 8.966e-06/0.3872, allocations: 2.719 kB / 401.3 MB, free: 14.94 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008368/0.3881, allocations: 433.4 kB / 401.7 MB, free: 14.69 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001484/0.3896, allocations: 274.3 kB / 402 MB, free: 14.55 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009978/0.3996, allocations: 5.561 MB / 407.5 MB, free: 10.84 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006777/0.4003, allocations: 0.9836 MB / 408.5 MB, free: 9.82 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0007853/0.4012, allocations: 127.5 kB / 408.6 MB, free: 9.691 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005016/0.4017, allocations: 355.3 kB / 409 MB, free: 9.344 MB / 318.1 MB Notification: Performance of SimCode: time 1.312e-06/0.4017, allocations: 0 / 409 MB, free: 9.344 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04904/0.4507, allocations: 23.83 MB / 432.8 MB, free: 1.984 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001998/0.451, allocations: 220.5 kB / 433 MB, free: 1.75 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.661/3.112, allocations: 0 / 433 MB, free: 1.75 MB / 334.1 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