Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 91.84 kB / 16.3 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0016/0.0016, allocations: 187.2 kB / 17.2 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 223.2 MB / 241.1 MB, free: 5.465 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003474/0.0003475, allocations: 5.844 kB / 300.8 MB, free: 6.031 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1197, allocations: 50.42 MB / 351.2 MB, free: 11.65 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.004475/0.1242, allocations: 3.906 MB / 355.1 MB, free: 7.727 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001968/0.1262, allocations: 1.235 MB / 356.4 MB, free: 6.484 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002361/0.1265, allocations: 8 kB / 356.4 MB, free: 6.477 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002508/0.1268, allocations: 103.2 kB / 356.5 MB, free: 6.375 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005725/0.1273, allocations: 351 kB / 356.8 MB, free: 6.031 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003268/0.1277, allocations: 167.7 kB / 357 MB, free: 5.867 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00101/0.1287, allocations: 0.7773 MB / 357.8 MB, free: 5.09 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00043/0.1291, allocations: 280.3 kB / 358 MB, free: 4.793 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003804/0.1295, allocations: 362.8 kB / 358.4 MB, free: 4.438 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005071/0.13, allocations: 434.2 kB / 358.8 MB, free: 4.012 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001103/0.1302, allocations: 56 kB / 358.9 MB, free: 3.957 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001344/0.1303, allocations: 64 kB / 358.9 MB, free: 3.895 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001455/0.1304, allocations: 159.4 kB / 359.1 MB, free: 3.738 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003519/0.1308, allocations: 201.3 kB / 359.3 MB, free: 3.535 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007417/0.1316, allocations: 0.8257 MB / 360.1 MB, free: 2.707 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1316, allocations: 0 / 360.1 MB, free: 2.707 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1316, allocations: 4 kB / 360.1 MB, free: 2.703 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.234e-05/0.1316, allocations: 0 / 360.1 MB, free: 2.703 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002071/0.1337, allocations: 1.154 MB / 361.3 MB, free: 1.477 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.1337, allocations: 8.031 kB / 361.3 MB, free: 1.469 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001903/0.1339, allocations: 119.7 kB / 361.4 MB, free: 1.344 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001743/0.1341, allocations: 114.8 kB / 361.5 MB, free: 1.23 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006926/0.1348, allocations: 491.9 kB / 362 MB, free: 0.707 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002095/0.135, allocations: 154.3 kB / 362.1 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001656/0.1352, allocations: 60 kB / 362.2 MB, free: 488 kB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001391/0.1366, allocations: 0.8626 MB / 363 MB, free: 15.51 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/0.1366, allocations: 7.859 kB / 363.1 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.72e-05/0.1367, allocations: 28 kB / 363.1 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/0.1367, allocations: 16 kB / 363.1 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001237/0.138, allocations: 0.5868 MB / 363.7 MB, free: 14.88 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.003335/0.1413, allocations: 2.104 MB / 365.8 MB, free: 12.67 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001979/0.1433, allocations: 1.016 MB / 366.8 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.913e-05/0.1434, allocations: 12.72 kB / 366.8 MB, free: 11.58 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.916e-05/0.1434, allocations: 51.22 kB / 366.9 MB, free: 11.52 MB / 302.1 MB Notification: Performance of pre-optimization done (n=73): time 1.844e-06/0.1434, allocations: 0 / 366.9 MB, free: 11.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=73): time 0.005096/0.1485, allocations: 1.881 MB / 368.8 MB, free: 9.547 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006417/0.1492, allocations: 0.8195 MB / 369.6 MB, free: 8.531 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008693/0.1501, allocations: 0.5864 MB / 370.2 MB, free: 7.938 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.506e-05/0.1502, allocations: 45.7 kB / 370.2 MB, free: 7.887 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003793/0.1505, allocations: 344.9 kB / 370.5 MB, free: 7.543 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002735/0.1508, allocations: 252.4 kB / 370.8 MB, free: 7.293 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.926e-05/0.1509, allocations: 12 kB / 370.8 MB, free: 7.281 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002703/0.1512, allocations: 394.7 kB / 371.2 MB, free: 6.887 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005673/0.1517, allocations: 257.9 kB / 371.4 MB, free: 6.637 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001031/0.1528, allocations: 0.5311 MB / 372 MB, free: 6.004 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007392/0.1535, allocations: 392 kB / 372.3 MB, free: 5.602 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.511e-06/0.1535, allocations: 0 / 372.3 MB, free: 5.602 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002758/0.1563, allocations: 1.114 MB / 373.5 MB, free: 4.449 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.872e-05/0.1564, allocations: 85.09 kB / 373.5 MB, free: 4.348 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/0.1564, allocations: 8 kB / 373.6 MB, free: 4.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000858/0.1573, allocations: 243.3 kB / 373.8 MB, free: 4.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000625/0.1579, allocations: 131.8 kB / 373.9 MB, free: 3.961 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01101/0.169, allocations: 6.594 MB / 380.5 MB, free: 12.83 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001368/0.1704, allocations: 107.3 kB / 380.6 MB, free: 12.73 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000195/0.1707, allocations: 24 kB / 380.6 MB, free: 12.7 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (70): * Single equations (assignments): 63 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 3,1 1,3 3,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0008341/0.1715, allocations: 210.3 kB / 380.8 MB, free: 12.49 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002967/0.1718, allocations: 87.06 kB / 380.9 MB, free: 12.4 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002507/0.1721, allocations: 95.27 kB / 381 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/0.1721, allocations: 8 kB / 381 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/0.1721, allocations: 0 / 381 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002731/0.1748, allocations: 1.253 MB / 382.3 MB, free: 10.93 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004363/0.1792, allocations: 1.878 MB / 384.2 MB, free: 8.984 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.1792, allocations: 0 / 384.2 MB, free: 8.984 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006673/0.1799, allocations: 127.9 kB / 384.3 MB, free: 8.859 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006294/0.1806, allocations: 218.6 kB / 384.5 MB, free: 8.637 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.979e-05/0.1807, allocations: 15.98 kB / 384.5 MB, free: 8.621 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007289/0.188, allocations: 5.141 MB / 389.7 MB, free: 3.082 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.188, allocations: 0 / 389.7 MB, free: 3.082 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003285/0.1913, allocations: 1.375 MB / 391 MB, free: 1.68 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004997/0.1918, allocations: 231.9 kB / 391.3 MB, free: 1.434 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002051/0.192, allocations: 23.98 kB / 391.3 MB, free: 1.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007709/0.1928, allocations: 47.91 kB / 391.3 MB, free: 1.363 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000187/0.193, allocations: 64.56 kB / 391.4 MB, free: 1.301 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.882e-05/0.193, allocations: 16 kB / 391.4 MB, free: 1.285 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005986/0.1937, allocations: 415.1 kB / 391.8 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.1937, allocations: 0 / 391.8 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001209/0.1949, allocations: 287.5 kB / 392.1 MB, free: 0.6055 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.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 (61): * Single equations (assignments): 58 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.003643/0.1985, allocations: 1.958 MB / 394.1 MB, free: 14.61 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002595/0.2011, allocations: 1.305 MB / 395.4 MB, free: 13.22 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/0.2012, allocations: 4.125 kB / 395.4 MB, free: 13.21 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001479/0.2027, allocations: 0.7652 MB / 396.1 MB, free: 12.41 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/0.2037, allocations: 197.1 kB / 396.3 MB, free: 12.22 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004503/0.2083, allocations: 2.699 MB / 399 MB, free: 9.457 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008611/0.2092, allocations: 0.9591 MB / 400 MB, free: 8.469 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004713/0.2097, allocations: 85.56 kB / 400.1 MB, free: 8.383 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004049/0.2101, allocations: 283.3 kB / 400.3 MB, free: 8.105 MB / 334.1 MB Notification: Performance of SimCode: time 7.41e-07/0.2101, allocations: 4 kB / 400.3 MB, free: 8.102 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05108/0.2612, allocations: 21.62 MB / 422 MB, free: 2.906 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002558/0.2615, allocations: 218 kB / 422.2 MB, free: 2.664 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.581/2.842, allocations: 0 / 422.2 MB, free: 2.664 MB / 350.1 MB (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat does not exist to compare? outputFormat=mat