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.001093/0.001093, allocations: 94.53 kB / 16.95 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.00153/0.00153, allocations: 182.1 kB / 17.84 MB, free: 6.008 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.469/1.469, allocations: 205.4 MB / 224 MB, free: 13.14 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.0004528/0.0004529, allocations: 16 kB / 280.9 MB, free: 3.633 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1201, allocations: 47.58 MB / 328.4 MB, free: 3.988 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.006639/0.1268, allocations: 4.293 MB / 332.7 MB, free: 15.67 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003279/0.1301, allocations: 1.216 MB / 334 MB, free: 14.45 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008539/0.131, allocations: 11.94 kB / 334 MB, free: 14.43 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006585/0.1317, allocations: 107.2 kB / 334.1 MB, free: 14.33 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001437/0.1331, allocations: 285.7 kB / 334.3 MB, free: 14.05 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007612/0.1339, allocations: 167.8 kB / 334.5 MB, free: 13.88 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001951/0.1359, allocations: 1.02 MB / 335.5 MB, free: 12.86 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000695/0.1366, allocations: 288.3 kB / 335.8 MB, free: 12.55 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007832/0.1374, allocations: 382.6 kB / 336.2 MB, free: 12.18 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001018/0.1385, allocations: 454.1 kB / 336.6 MB, free: 11.73 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003393/0.1388, allocations: 64 kB / 336.7 MB, free: 11.67 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003319/0.1392, allocations: 68 kB / 336.8 MB, free: 11.61 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002002/0.1394, allocations: 175.4 kB / 336.9 MB, free: 11.43 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002891/0.1397, allocations: 201.2 kB / 337.1 MB, free: 11.23 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009651/0.1406, allocations: 0.8569 MB / 338 MB, free: 10.37 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1407, allocations: 4 kB / 338 MB, free: 10.37 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.1407, allocations: 0 / 338 MB, free: 10.37 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.093e-05/0.1407, allocations: 0 / 338 MB, free: 10.37 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.002479/0.1432, allocations: 1.177 MB / 339.2 MB, free: 9.121 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.1432, allocations: 12.02 kB / 339.2 MB, free: 9.109 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002333/0.1435, allocations: 115.7 kB / 339.3 MB, free: 8.988 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002267/0.1437, allocations: 110.8 kB / 339.4 MB, free: 8.879 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/0.1447, allocations: 0.5232 MB / 339.9 MB, free: 8.309 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002783/0.145, allocations: 154.4 kB / 340.1 MB, free: 8.141 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001349/0.1452, allocations: 60 kB / 340.1 MB, free: 8.082 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001832/0.147, allocations: 0.8588 MB / 341 MB, free: 7.121 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.794e-05/0.1471, allocations: 7.906 kB / 341 MB, free: 7.113 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-05/0.1472, allocations: 28 kB / 341 MB, free: 7.086 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.828e-05/0.1472, allocations: 15.94 kB / 341 MB, free: 7.07 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001654/0.1489, allocations: 0.5868 MB / 341.6 MB, free: 6.484 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.004389/0.1533, allocations: 2.151 MB / 343.8 MB, free: 4.23 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002384/0.1557, allocations: 0.9986 MB / 344.8 MB, free: 3.168 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009323/0.1566, allocations: 386.3 kB / 345.2 MB, free: 2.785 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.706e-05/0.1567, allocations: 16.72 kB / 345.2 MB, free: 2.77 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.413e-05/0.1567, allocations: 52.8 kB / 345.2 MB, free: 2.711 MB / 286.1 MB Notification: Performance of pre-optimization done (n=73): time 3.196e-06/0.1568, allocations: 0 / 345.2 MB, free: 2.711 MB / 286.1 MB Notification: Performance of matching and sorting (n=73): time 0.006322/0.1631, allocations: 1.879 MB / 347.1 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000384/0.1635, allocations: 0.8195 MB / 347.9 MB, free: 15.72 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/0.1646, allocations: 0.6372 MB / 348.6 MB, free: 15.08 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.365e-05/0.1647, allocations: 49.64 kB / 348.6 MB, free: 15.02 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000375/0.1651, allocations: 336.9 kB / 348.9 MB, free: 14.69 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000269/0.1654, allocations: 252.3 kB / 349.2 MB, free: 14.44 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.242e-05/0.1654, allocations: 16 kB / 349.2 MB, free: 14.42 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002065/0.1656, allocations: 386.7 kB / 349.6 MB, free: 14.04 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007608/0.1664, allocations: 253.9 kB / 349.8 MB, free: 13.79 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001118/0.1675, allocations: 0.5351 MB / 350.4 MB, free: 13.16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008784/0.1684, allocations: 392 kB / 350.7 MB, free: 12.75 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.1685, allocations: 0 / 350.7 MB, free: 12.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003199/0.1717, allocations: 1.11 MB / 351.9 MB, free: 11.61 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.31e-05/0.1718, allocations: 97.05 kB / 351.9 MB, free: 11.49 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.1718, allocations: 0 / 351.9 MB, free: 11.49 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009031/0.1727, allocations: 251.2 kB / 352.2 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007502/0.1735, allocations: 131.8 kB / 352.3 MB, free: 11.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00951/0.183, allocations: 6.495 MB / 358.8 MB, free: 4.078 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/0.1842, allocations: 107.4 kB / 358.9 MB, free: 3.973 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.315e-05/0.1843, allocations: 23.98 kB / 358.9 MB, free: 3.949 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.0005154/0.1848, allocations: 229.7 kB / 359.2 MB, free: 3.715 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001954/0.185, allocations: 86.97 kB / 359.3 MB, free: 3.629 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002313/0.1853, allocations: 91.33 kB / 359.3 MB, free: 3.531 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.1853, allocations: 8 kB / 359.3 MB, free: 3.523 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.1853, allocations: 0 / 359.3 MB, free: 3.523 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002914/0.1882, allocations: 1.245 MB / 360.6 MB, free: 2.164 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004707/0.1929, allocations: 1.942 MB / 362.5 MB, free: 152 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.193, allocations: 192 / 362.5 MB, free: 152 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007948/0.1938, allocations: 131.9 kB / 362.7 MB, free: 20 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007343/0.1945, allocations: 222.5 kB / 362.9 MB, free: 15.79 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.832e-05/0.1946, allocations: 15.98 kB / 362.9 MB, free: 15.78 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007327/0.2019, allocations: 4.982 MB / 367.9 MB, free: 10.39 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/0.202, allocations: 3.953 kB / 367.9 MB, free: 10.39 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003993/0.206, allocations: 1.389 MB / 369.3 MB, free: 8.969 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005378/0.2065, allocations: 239.9 kB / 369.5 MB, free: 8.715 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002287/0.2068, allocations: 20 kB / 369.5 MB, free: 8.695 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009154/0.2077, allocations: 47.91 kB / 369.6 MB, free: 8.648 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001933/0.2079, allocations: 60.56 kB / 369.6 MB, free: 8.586 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.796e-05/0.208, allocations: 24 kB / 369.7 MB, free: 8.562 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008491/0.2088, allocations: 451 kB / 370.1 MB, free: 8.129 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.496e-06/0.2088, allocations: 0 / 370.1 MB, free: 8.129 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001446/0.2103, allocations: 287.7 kB / 370.4 MB, free: 7.848 MB / 318.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.004348/0.2146, allocations: 1.961 MB / 372.3 MB, free: 5.844 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00271/0.2174, allocations: 1.313 MB / 373.7 MB, free: 4.445 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/0.2174, allocations: 4 kB / 373.7 MB, free: 4.441 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001313/0.2187, allocations: 0.7029 MB / 374.4 MB, free: 3.695 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001564/0.2203, allocations: 214.8 kB / 374.6 MB, free: 3.484 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1739/0.3942, allocations: 5.241 MB / 379.8 MB, free: 51.11 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004708/0.3947, allocations: 0.9453 MB / 380.8 MB, free: 50.41 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005819/0.3953, allocations: 101.3 kB / 380.9 MB, free: 50.4 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004617/0.3958, allocations: 293.5 kB / 381.1 MB, free: 50.39 MB / 318.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3958, allocations: 0 / 381.1 MB, free: 50.39 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.105/0.5008, allocations: 22.83 MB / 404 MB, free: 37.65 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001303/0.5009, allocations: 230.7 kB / 404.2 MB, free: 37.4 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.67/3.171, allocations: 0 / 404.2 MB, free: 37.4 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