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.0009801/0.0009801, allocations: 88.31 kB / 16.31 MB, free: 6.457 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.00108/0.00108, allocations: 178.2 kB / 17.21 MB, free: 6.324 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.371/1.371, allocations: 223.2 MB / 241.2 MB, free: 352 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003002/0.0003002, allocations: 9.344 kB / 300.9 MB, free: 6.355 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1201, allocations: 50.42 MB / 351.3 MB, free: 3.926 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.004447/0.1246, allocations: 4.304 MB / 355.6 MB, free: 15.6 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002085/0.1267, allocations: 1.161 MB / 356.8 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002561/0.1269, allocations: 11.94 kB / 356.8 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002869/0.1272, allocations: 111.1 kB / 356.9 MB, free: 14.31 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005843/0.1278, allocations: 277.7 kB / 357.2 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003722/0.1282, allocations: 167.8 kB / 357.4 MB, free: 13.87 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009799/0.1292, allocations: 1.024 MB / 358.4 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003784/0.1296, allocations: 288.3 kB / 358.7 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004114/0.13, allocations: 386.6 kB / 359 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004672/0.1305, allocations: 450.2 kB / 359.5 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001018/0.1306, allocations: 64 kB / 359.5 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001269/0.1307, allocations: 68 kB / 359.6 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001544/0.1309, allocations: 175.4 kB / 359.8 MB, free: 11.42 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001748/0.1311, allocations: 205.2 kB / 360 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007021/0.1318, allocations: 0.8608 MB / 360.8 MB, free: 10.35 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.1318, allocations: 4 kB / 360.8 MB, free: 10.34 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.1318, allocations: 4 kB / 360.8 MB, free: 10.34 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.128e-05/0.1318, allocations: 0 / 360.8 MB, free: 10.34 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001845/0.1337, allocations: 1.166 MB / 362 MB, free: 9.102 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.1337, allocations: 8.031 kB / 362 MB, free: 9.094 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001669/0.1339, allocations: 115.7 kB / 362.1 MB, free: 8.973 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001513/0.134, allocations: 110.8 kB / 362.2 MB, free: 8.863 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007438/0.1348, allocations: 0.5193 MB / 362.8 MB, free: 8.301 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001963/0.135, allocations: 154.4 kB / 362.9 MB, free: 8.129 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.374e-05/0.1351, allocations: 67.91 kB / 363 MB, free: 8.062 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0014/0.1365, allocations: 0.8666 MB / 363.8 MB, free: 7.094 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.1365, allocations: 3.953 kB / 363.9 MB, free: 7.09 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.475e-05/0.1366, allocations: 28 kB / 363.9 MB, free: 7.062 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.472e-05/0.1366, allocations: 16 kB / 363.9 MB, free: 7.047 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001126/0.1378, allocations: 0.5868 MB / 364.5 MB, free: 6.461 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.003446/0.1412, allocations: 2.151 MB / 366.6 MB, free: 4.211 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001696/0.1429, allocations: 1.006 MB / 367.6 MB, free: 3.141 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007909/0.1437, allocations: 378.7 kB / 368 MB, free: 2.766 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.281e-05/0.1438, allocations: 12.66 kB / 368 MB, free: 2.754 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.723e-05/0.1439, allocations: 51.16 kB / 368.1 MB, free: 2.695 MB / 302.1 MB Notification: Performance of pre-optimization done (n=73): time 2.014e-06/0.1439, allocations: 0 / 368.1 MB, free: 2.695 MB / 302.1 MB Notification: Performance of matching and sorting (n=73): time 0.005892/0.1498, allocations: 1.875 MB / 369.9 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2256/0.3755, allocations: 0.8167 MB / 370.8 MB, free: 24.45 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00152/0.377, allocations: 0.6302 MB / 371.4 MB, free: 24.33 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002104/0.3773, allocations: 46.89 kB / 371.4 MB, free: 24.3 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002921/0.3776, allocations: 342 kB / 371.8 MB, free: 24.21 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004146/0.378, allocations: 255.9 kB / 372 MB, free: 24.13 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.97e-05/0.3781, allocations: 13.47 kB / 372 MB, free: 24.13 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.3783, allocations: 390.5 kB / 372.4 MB, free: 23.82 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007205/0.379, allocations: 255.3 kB / 372.7 MB, free: 23.82 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/0.3801, allocations: 0.537 MB / 373.2 MB, free: 23.54 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000903/0.381, allocations: 388.1 kB / 373.6 MB, free: 23.44 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.381, allocations: 0 / 373.6 MB, free: 23.44 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002883/0.3839, allocations: 1.112 MB / 374.7 MB, free: 23.16 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.682e-05/0.384, allocations: 84.97 kB / 374.8 MB, free: 23.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.384, allocations: 3.172 kB / 374.8 MB, free: 23.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008547/0.3849, allocations: 246.8 kB / 375 MB, free: 22.99 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005825/0.3855, allocations: 134.5 kB / 375.2 MB, free: 22.97 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007402/0.3929, allocations: 6.487 MB / 381.6 MB, free: 17.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001145/0.3941, allocations: 107.4 kB / 381.7 MB, free: 17.13 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001302/0.3942, allocations: 26.02 kB / 381.8 MB, free: 17.12 MB / 302.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 {3 3,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0006725/0.3949, allocations: 218.7 kB / 382 MB, free: 16.95 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003302/0.3952, allocations: 88.97 kB / 382.1 MB, free: 16.9 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002301/0.3955, allocations: 95.3 kB / 382.2 MB, free: 16.83 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/0.3955, allocations: 7.766 kB / 382.2 MB, free: 16.83 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.3955, allocations: 1.25 kB / 382.2 MB, free: 16.83 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002309/0.3978, allocations: 1.248 MB / 383.4 MB, free: 16.04 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004536/0.4024, allocations: 1.941 MB / 385.4 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-06/0.4024, allocations: 5.219 kB / 385.4 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006569/0.4031, allocations: 129.5 kB / 385.5 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005815/0.4037, allocations: 217.6 kB / 385.7 MB, free: 15.03 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.096e-05/0.4037, allocations: 17.38 kB / 385.7 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005371/0.4091, allocations: 4.991 MB / 390.7 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.4091, allocations: 1.062 kB / 390.7 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003282/0.4124, allocations: 1.39 MB / 392.1 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005294/0.413, allocations: 247 kB / 392.3 MB, free: 9.816 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003042/0.4133, allocations: 16.33 kB / 392.4 MB, free: 9.809 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007401/0.4141, allocations: 46.67 kB / 392.4 MB, free: 9.797 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002312/0.4143, allocations: 61.12 kB / 392.5 MB, free: 9.781 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.471e-05/0.4144, allocations: 19.28 kB / 392.5 MB, free: 9.777 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007283/0.4151, allocations: 456.4 kB / 392.9 MB, free: 9.57 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4151, allocations: 1.406 kB / 392.9 MB, free: 9.57 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001399/0.4165, allocations: 284.8 kB / 393.2 MB, free: 9.527 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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.003611/0.4201, allocations: 1.965 MB / 395.2 MB, free: 8.371 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002136/0.4223, allocations: 1.313 MB / 396.5 MB, free: 7.477 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/0.4223, allocations: 3.938 kB / 396.5 MB, free: 7.477 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008421/0.4232, allocations: 0.7009 MB / 397.2 MB, free: 7.004 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001179/0.4243, allocations: 220.5 kB / 397.4 MB, free: 6.922 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009378/0.4337, allocations: 5.254 MB / 402.7 MB, free: 3.785 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003755/0.4342, allocations: 0.9439 MB / 403.6 MB, free: 2.816 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004905/0.4347, allocations: 106.4 kB / 403.7 MB, free: 2.707 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003513/0.435, allocations: 295.3 kB / 404 MB, free: 2.418 MB / 302.1 MB Notification: Performance of SimCode: time 1.072e-06/0.435, allocations: 0 / 404 MB, free: 2.418 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04406/0.4791, allocations: 22.82 MB / 426.8 MB, free: 12.04 MB / 334.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001932/0.4793, allocations: 217.8 kB / 427 MB, free: 11.8 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.587/3.066, allocations: 0 / 427 MB, free: 11.8 MB / 334.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