Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001533/0.001537, allocations: 182.5 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.151/2.151, allocations: 205.4 MB / 222.5 MB, free: 9.105 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001168/0.001168, allocations: 86.86 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004222/0.0004225, allocations: 8 kB / 327.1 MB, free: 112 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3505/0.3509, allocations: 47.57 MB / 374.6 MB, free: 45.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.005614/0.3566, allocations: 3.898 MB / 378.5 MB, free: 42.38 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003071/0.3597, allocations: 1.264 MB / 379.8 MB, free: 41.33 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008335/0.3606, allocations: 11.97 kB / 379.8 MB, free: 41.33 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004101/0.3611, allocations: 103.3 kB / 379.9 MB, free: 41.24 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00115/0.3622, allocations: 346 kB / 380.2 MB, free: 40.95 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006384/0.3629, allocations: 168.3 kB / 380.4 MB, free: 40.8 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001969/0.3649, allocations: 0.7831 MB / 381.2 MB, free: 40.32 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005897/0.3655, allocations: 274.2 kB / 381.4 MB, free: 40.15 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007401/0.3663, allocations: 370.2 kB / 381.8 MB, free: 39.96 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007441/0.367, allocations: 429.2 kB / 382.2 MB, free: 39.68 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000192/0.3673, allocations: 58.84 kB / 382.3 MB, free: 39.68 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003021/0.3676, allocations: 60.31 kB / 382.3 MB, free: 39.68 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001742/0.3678, allocations: 169.2 kB / 382.5 MB, free: 39.54 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003115/0.3681, allocations: 202.7 kB / 382.7 MB, free: 39.43 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001081/0.3692, allocations: 0.8191 MB / 383.5 MB, free: 38.81 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3692, allocations: 0 / 383.5 MB, free: 38.81 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3692, allocations: 0 / 383.5 MB, free: 38.81 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.365e-05/0.3692, allocations: 0 / 383.5 MB, free: 38.81 MB / 298.7 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.003173/0.3724, allocations: 1.162 MB / 384.7 MB, free: 37.89 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.3725, allocations: 9.812 kB / 384.7 MB, free: 37.89 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000303/0.3728, allocations: 120.5 kB / 384.8 MB, free: 37.79 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002888/0.3731, allocations: 105.2 kB / 384.9 MB, free: 37.75 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001069/0.3742, allocations: 495 kB / 385.4 MB, free: 37.32 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002925/0.3745, allocations: 154.6 kB / 385.6 MB, free: 37.19 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001541/0.3747, allocations: 61.41 kB / 385.6 MB, free: 37.17 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002096/0.3768, allocations: 0.8573 MB / 386.5 MB, free: 36.51 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.601e-05/0.3769, allocations: 5.188 kB / 386.5 MB, free: 36.51 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001651/0.377, allocations: 28.12 kB / 386.5 MB, free: 36.49 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.265e-05/0.3771, allocations: 15.16 kB / 386.5 MB, free: 36.49 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002157/0.3793, allocations: 0.5898 MB / 387.1 MB, free: 36.05 MB / 298.7 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.005394/0.3847, allocations: 2.112 MB / 389.2 MB, free: 33.84 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002971/0.3877, allocations: 1.02 MB / 390.2 MB, free: 32.76 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001019/0.3879, allocations: 12.66 kB / 390.3 MB, free: 32.75 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.381e-05/0.3879, allocations: 51.16 kB / 390.3 MB, free: 32.69 MB / 298.7 MB Notification: Performance of pre-optimization done (n=73): time 4.168e-06/0.3879, allocations: 0 / 390.3 MB, free: 32.69 MB / 298.7 MB Notification: Performance of matching and sorting (n=73): time 0.008527/0.3965, allocations: 1.877 MB / 392.2 MB, free: 30.71 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001949/0.3967, allocations: 0.8234 MB / 393 MB, free: 29.7 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009151/0.3977, allocations: 0.5879 MB / 393.6 MB, free: 29.1 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001608/0.3978, allocations: 45.7 kB / 393.6 MB, free: 29.05 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002415/0.3981, allocations: 359.6 kB / 394 MB, free: 28.7 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002499/0.3983, allocations: 252.2 kB / 394.2 MB, free: 28.45 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.693e-05/0.3984, allocations: 16 kB / 394.3 MB, free: 28.43 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.234e-05/0.3985, allocations: 338.8 kB / 394.6 MB, free: 28.09 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008971/0.3994, allocations: 253.9 kB / 394.8 MB, free: 27.84 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00119/0.4006, allocations: 0.5312 MB / 395.4 MB, free: 27.21 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001016/0.4017, allocations: 392 kB / 395.7 MB, free: 26.81 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.4017, allocations: 0 / 395.7 MB, free: 26.81 MB / 298.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003977/0.4057, allocations: 1.064 MB / 396.8 MB, free: 25.71 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.985e-05/0.4058, allocations: 88.55 kB / 396.9 MB, free: 25.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.4058, allocations: 0 / 396.9 MB, free: 25.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001085/0.4069, allocations: 255.2 kB / 397.1 MB, free: 25.35 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00109/0.408, allocations: 127.9 kB / 397.3 MB, free: 25.22 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01081/0.4189, allocations: 6.598 MB / 403.9 MB, free: 18.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001681/0.4206, allocations: 103.4 kB / 404 MB, free: 17.99 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001189/0.4207, allocations: 23.98 kB / 404 MB, free: 17.96 MB / 298.7 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.0004926/0.4213, allocations: 225.8 kB / 404.2 MB, free: 17.73 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002591/0.4215, allocations: 90.92 kB / 404.3 MB, free: 17.64 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002113/0.4217, allocations: 91.34 kB / 404.4 MB, free: 17.55 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.679e-06/0.4218, allocations: 8 kB / 404.4 MB, free: 17.54 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.186e-06/0.4218, allocations: 256 / 404.4 MB, free: 17.54 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003646/0.4254, allocations: 1.249 MB / 405.6 MB, free: 16.18 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005723/0.4312, allocations: 1.89 MB / 407.5 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.277e-06/0.4313, allocations: 0 / 407.5 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001216/0.4325, allocations: 131.8 kB / 407.7 MB, free: 14.1 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009256/0.4335, allocations: 210.5 kB / 407.9 MB, free: 13.88 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.506e-05/0.4336, allocations: 16 kB / 407.9 MB, free: 13.87 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009357/0.4429, allocations: 5.126 MB / 413 MB, free: 8.344 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.443, allocations: 3.984 kB / 413 MB, free: 8.34 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005013/0.448, allocations: 1.383 MB / 414.4 MB, free: 6.926 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007303/0.4488, allocations: 235.9 kB / 414.6 MB, free: 6.676 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001933/0.449, allocations: 20 kB / 414.6 MB, free: 6.656 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001202/0.4502, allocations: 39.97 kB / 414.7 MB, free: 6.617 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002579/0.4505, allocations: 64.55 kB / 414.7 MB, free: 6.555 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.273e-05/0.4506, allocations: 20 kB / 414.8 MB, free: 6.535 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006558/0.4513, allocations: 419.1 kB / 415.2 MB, free: 6.133 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.4513, allocations: 0 / 415.2 MB, free: 6.133 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001354/0.4526, allocations: 279.7 kB / 415.5 MB, free: 5.859 MB / 298.7 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.006599/0.4593, allocations: 1.966 MB / 417.4 MB, free: 3.855 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00446/0.4638, allocations: 1.305 MB / 418.7 MB, free: 2.461 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.665e-06/0.4638, allocations: 0 / 418.7 MB, free: 2.461 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003019/0.4669, allocations: 0.7614 MB / 419.5 MB, free: 1.664 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001948/0.4688, allocations: 203.8 kB / 419.7 MB, free: 1.465 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007257/0.4761, allocations: 2.709 MB / 422.4 MB, free: 14.69 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001038/0.4772, allocations: 0.9591 MB / 423.4 MB, free: 13.7 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007459/0.478, allocations: 295.3 kB / 423.6 MB, free: 13.41 MB / 314.7 MB Notification: Performance of SimCode: time 1.132e-06/0.478, allocations: 4 kB / 423.6 MB, free: 13.41 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.14/3.618, allocations: 23.61 MB / 447.3 MB, free: 5.754 MB / 330.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling.fmu > Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat does not exist to compare? outputFormat=mat