Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) 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 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_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_3_2_3_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.001177/0.001177, allocations: 98.81 kB / 16.94 MB, free: 5.973 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.001294/0.001294, allocations: 181.9 kB / 17.83 MB, free: 5.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.619/1.619, allocations: 205.4 MB / 224 MB, free: 13.18 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004638/0.0004639, allocations: 23.38 kB / 280.9 MB, free: 3.656 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08585/0.08632, allocations: 47.57 MB / 328.4 MB, free: 4.016 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.004386/0.09074, allocations: 3.897 MB / 332.3 MB, free: 100 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002404/0.09317, allocations: 1.264 MB / 333.6 MB, free: 14.82 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004942/0.0937, allocations: 11.94 kB / 333.6 MB, free: 14.81 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003459/0.09405, allocations: 103.2 kB / 333.7 MB, free: 14.71 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008281/0.0949, allocations: 347 kB / 334 MB, free: 14.37 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004487/0.09536, allocations: 175.7 kB / 334.2 MB, free: 14.2 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001307/0.09668, allocations: 0.7735 MB / 335 MB, free: 13.42 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004865/0.09718, allocations: 272.4 kB / 335.2 MB, free: 13.14 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006517/0.09784, allocations: 374.7 kB / 335.6 MB, free: 12.77 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006854/0.09854, allocations: 418.3 kB / 336 MB, free: 12.36 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001159/0.09867, allocations: 60 kB / 336.1 MB, free: 12.3 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000132/0.0988, allocations: 60 kB / 336.1 MB, free: 12.24 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001563/0.09897, allocations: 175.3 kB / 336.3 MB, free: 12.07 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002079/0.09918, allocations: 197.3 kB / 336.5 MB, free: 11.87 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006991/0.09989, allocations: 0.814 MB / 337.3 MB, free: 11.05 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.554e-06/0.0999, allocations: 0 / 337.3 MB, free: 11.05 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.09991, allocations: 4 kB / 337.3 MB, free: 11.05 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.078e-05/0.09993, allocations: 0 / 337.3 MB, free: 11.05 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.002139/0.1021, allocations: 1.166 MB / 338.5 MB, free: 9.816 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.1021, allocations: 11.97 kB / 338.5 MB, free: 9.805 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000181/0.1023, allocations: 115.7 kB / 338.6 MB, free: 9.684 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000162/0.1025, allocations: 110.8 kB / 338.7 MB, free: 9.574 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006611/0.1031, allocations: 495.8 kB / 339.2 MB, free: 9.043 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001959/0.1034, allocations: 154.4 kB / 339.4 MB, free: 8.875 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.333e-05/0.1035, allocations: 64 kB / 339.4 MB, free: 8.812 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001292/0.1048, allocations: 0.8588 MB / 340.3 MB, free: 7.852 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/0.1048, allocations: 7.844 kB / 340.3 MB, free: 7.844 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.027e-05/0.1049, allocations: 28 kB / 340.3 MB, free: 7.816 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.499e-05/0.1049, allocations: 16 kB / 340.3 MB, free: 7.801 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001236/0.1061, allocations: 0.5907 MB / 340.9 MB, free: 7.211 MB / 286.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.003436/0.1096, allocations: 2.1 MB / 343 MB, free: 5.008 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001931/0.1115, allocations: 1.026 MB / 344 MB, free: 3.918 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.78e-05/0.1116, allocations: 18.36 kB / 344.1 MB, free: 3.902 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.05e-05/0.1116, allocations: 43.22 kB / 344.1 MB, free: 3.852 MB / 286.1 MB Notification: Performance of pre-optimization done (n=73): time 1.924e-06/0.1116, allocations: 4 kB / 344.1 MB, free: 3.848 MB / 286.1 MB Notification: Performance of matching and sorting (n=73): time 0.004821/0.1165, allocations: 1.881 MB / 346 MB, free: 1.871 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004068/0.1169, allocations: 0.8195 MB / 346.8 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007075/0.1176, allocations: 0.5864 MB / 347.4 MB, free: 268 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 7.208e-05/0.1177, allocations: 45.7 kB / 347.4 MB, free: 216 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002923/0.118, allocations: 341 kB / 347.8 MB, free: 15.87 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002146/0.1182, allocations: 248.2 kB / 348 MB, free: 15.62 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.02e-05/0.1183, allocations: 19.94 kB / 348 MB, free: 15.61 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001881/0.1185, allocations: 382.8 kB / 348.4 MB, free: 15.22 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005318/0.119, allocations: 257.9 kB / 348.7 MB, free: 14.97 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007586/0.1198, allocations: 0.5313 MB / 349.2 MB, free: 14.34 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006888/0.1205, allocations: 392 kB / 349.6 MB, free: 13.94 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.1205, allocations: 4 kB / 349.6 MB, free: 13.94 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002336/0.1228, allocations: 1.11 MB / 350.7 MB, free: 12.79 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.876e-05/0.1229, allocations: 85.11 kB / 350.8 MB, free: 12.69 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.1229, allocations: 4 kB / 350.8 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007249/0.1237, allocations: 259.2 kB / 351 MB, free: 12.42 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005732/0.1243, allocations: 127.9 kB / 351.2 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008248/0.1325, allocations: 6.582 MB / 357.7 MB, free: 5.176 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001114/0.1337, allocations: 115.3 kB / 357.8 MB, free: 5.062 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.069e-05/0.1337, allocations: 24 kB / 357.9 MB, free: 5.039 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 {1 3,1 1,3 3,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0004994/0.1343, allocations: 217.9 kB / 358.1 MB, free: 4.816 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001705/0.1344, allocations: 91.02 kB / 358.2 MB, free: 4.727 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001868/0.1346, allocations: 91.33 kB / 358.3 MB, free: 4.629 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.1346, allocations: 8 kB / 358.3 MB, free: 4.621 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.1347, allocations: 0 / 358.3 MB, free: 4.621 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00242/0.1371, allocations: 1.253 MB / 359.5 MB, free: 3.258 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003577/0.1407, allocations: 1.882 MB / 361.4 MB, free: 1.312 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.1407, allocations: 0 / 361.4 MB, free: 1.312 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006264/0.1413, allocations: 131.8 kB / 361.5 MB, free: 1.184 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005536/0.1419, allocations: 218.4 kB / 361.7 MB, free: 0.9609 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.142e-05/0.1419, allocations: 15.98 kB / 361.8 MB, free: 0.9453 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006467/0.1484, allocations: 5.125 MB / 366.9 MB, free: 11.42 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.1485, allocations: 0 / 366.9 MB, free: 11.42 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002929/0.1514, allocations: 1.383 MB / 368.3 MB, free: 10.01 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003778/0.1518, allocations: 228 kB / 368.5 MB, free: 9.766 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/0.1519, allocations: 20 kB / 368.5 MB, free: 9.746 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006007/0.1525, allocations: 51.89 kB / 368.6 MB, free: 9.695 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001416/0.1527, allocations: 56.58 kB / 368.6 MB, free: 9.641 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.035e-05/0.1527, allocations: 27.97 kB / 368.6 MB, free: 9.613 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005259/0.1532, allocations: 423 kB / 369.1 MB, free: 9.207 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1533, allocations: 0 / 369.1 MB, free: 9.207 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008943/0.1542, allocations: 279.7 kB / 369.3 MB, free: 8.934 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.003201/0.1574, allocations: 1.954 MB / 371.3 MB, free: 6.941 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002003/0.1594, allocations: 1.305 MB / 372.6 MB, free: 5.547 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/0.1594, allocations: 8.125 kB / 372.6 MB, free: 5.539 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00124/0.1606, allocations: 0.7574 MB / 373.4 MB, free: 4.746 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008699/0.1615, allocations: 198.8 kB / 373.5 MB, free: 4.551 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00347/0.165, allocations: 2.69 MB / 376.2 MB, free: 1.801 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005569/0.1656, allocations: 0.9552 MB / 377.2 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003962/0.166, allocations: 93.53 kB / 377.3 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003727/0.1664, allocations: 283.3 kB / 377.6 MB, free: 460 kB / 318.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1664, allocations: 4 kB / 377.6 MB, free: 456 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1923/0.3586, allocations: 21.61 MB / 399.2 MB, free: 41.3 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001306/0.3588, allocations: 225.3 kB / 399.4 MB, free: 41.05 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.428/2.787, allocations: 4 kB / 399.4 MB, free: 41.05 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat does not exist to compare? outputFormat=mat