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.001666/0.001666, allocations: 182.1 kB / 13.66 MB, free: 1.664 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.082/2.082, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001121/0.00112, allocations: 78.77 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.165e-05/3.179e-05, allocations: 4 kB / 321.6 MB, free: 17.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1017, allocations: 47.57 MB / 369.2 MB, free: 2.109 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4317/0.5334, allocations: 81.68 MB / 450.9 MB, free: 11.55 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002748/0.5338, allocations: 76.98 kB / 450.9 MB, free: 11.51 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07189/0.6057, allocations: 16.2 MB / 467.1 MB, free: 13.09 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.51e-06/0.6058, allocations: 4 kB / 467.1 MB, free: 13.09 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.888e-05/0.6058, allocations: 19.94 kB / 467.2 MB, free: 13.07 MB / 346.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.004334/0.6102, allocations: 1.046 MB / 468.2 MB, free: 11.96 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.372e-05/0.6103, allocations: 16.02 kB / 468.2 MB, free: 11.94 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000501/0.6108, allocations: 115.7 kB / 468.3 MB, free: 11.82 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004938/0.6113, allocations: 110.8 kB / 468.4 MB, free: 11.71 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002158/0.6135, allocations: 0.5158 MB / 469 MB, free: 11.15 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004493/0.614, allocations: 150.4 kB / 469.1 MB, free: 10.98 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002664/0.6143, allocations: 60 kB / 469.2 MB, free: 10.93 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00287/0.6172, allocations: 0.8159 MB / 470 MB, free: 10.01 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.203e-05/0.6173, allocations: 0 / 470 MB, free: 10.01 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001794/0.6175, allocations: 28 kB / 470 MB, free: 9.98 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.276e-05/0.6175, allocations: 19.94 kB / 470 MB, free: 9.961 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00235/0.6199, allocations: 0.5011 MB / 470.5 MB, free: 9.461 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009183/0.6291, allocations: 2.135 MB / 472.7 MB, free: 7.234 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003749/0.6329, allocations: 0.9115 MB / 473.6 MB, free: 6.25 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001508/0.6345, allocations: 339.5 kB / 473.9 MB, free: 5.918 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001363/0.6347, allocations: 12.78 kB / 473.9 MB, free: 5.906 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.108e-05/0.6348, allocations: 59.3 kB / 474 MB, free: 5.84 MB / 346.7 MB Notification: Performance of pre-optimization done (n=74): time 7.063e-06/0.6348, allocations: 0 / 474 MB, free: 5.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=74): time 0.005521/0.6404, allocations: 0.8828 MB / 474.9 MB, free: 4.938 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006116/0.641, allocations: 0.8196 MB / 475.7 MB, free: 3.922 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001724/0.6428, allocations: 0.5544 MB / 476.2 MB, free: 3.359 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002868/0.6431, allocations: 49.64 kB / 476.3 MB, free: 3.305 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004785/0.6436, allocations: 351.5 kB / 476.6 MB, free: 2.961 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005448/0.6442, allocations: 256.2 kB / 476.9 MB, free: 2.707 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.738e-05/0.6443, allocations: 16 kB / 476.9 MB, free: 2.691 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000215/0.6445, allocations: 334.8 kB / 477.2 MB, free: 2.355 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001021/0.6455, allocations: 213.6 kB / 477.4 MB, free: 2.148 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001549/0.6471, allocations: 0.4899 MB / 477.9 MB, free: 1.555 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001325/0.6485, allocations: 349.8 kB / 478.3 MB, free: 1.199 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.386e-06/0.6485, allocations: 0 / 478.3 MB, free: 1.199 MB / 346.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.005673/0.6542, allocations: 0.9805 MB / 479.2 MB, free: 184 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001359/0.6544, allocations: 89.09 kB / 479.3 MB, free: 76 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.109e-05/0.6545, allocations: 4 kB / 479.3 MB, free: 72 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00161/0.6561, allocations: 223.2 kB / 479.5 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001582/0.6577, allocations: 131.8 kB / 479.7 MB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0162/0.6739, allocations: 6.236 MB / 485.9 MB, free: 8.941 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002126/0.6761, allocations: 111.3 kB / 486 MB, free: 8.832 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001821/0.6764, allocations: 20 kB / 486 MB, free: 8.812 MB / 362.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 64 * 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 5,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004432/0.6768, allocations: 156.9 kB / 486.2 MB, free: 8.652 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004272/0.6773, allocations: 83.06 kB / 486.3 MB, free: 8.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005153/0.6778, allocations: 100 kB / 486.4 MB, free: 8.461 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.258e-05/0.6779, allocations: 11.94 kB / 486.4 MB, free: 8.449 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.298e-05/0.6779, allocations: 0 / 486.4 MB, free: 8.449 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004043/0.682, allocations: 1.166 MB / 487.5 MB, free: 7.168 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008569/0.6906, allocations: 1.867 MB / 489.4 MB, free: 5.227 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.341e-05/0.6907, allocations: 192 / 489.4 MB, free: 5.227 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0017/0.6924, allocations: 135.8 kB / 489.5 MB, free: 5.094 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001009/0.6934, allocations: 170.5 kB / 489.7 MB, free: 4.918 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001351/0.6936, allocations: 12 kB / 489.7 MB, free: 4.906 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0123/0.7059, allocations: 4.809 MB / 494.5 MB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-05/0.706, allocations: 7.922 kB / 494.5 MB, free: 15.69 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006438/0.7124, allocations: 1.296 MB / 495.8 MB, free: 14.35 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001036/0.7135, allocations: 232 kB / 496.1 MB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003375/0.7139, allocations: 23.95 kB / 496.1 MB, free: 14.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001359/0.7153, allocations: 51.91 kB / 496.1 MB, free: 14.03 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004032/0.7158, allocations: 56.69 kB / 496.2 MB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001058/0.7159, allocations: 20 kB / 496.2 MB, free: 13.96 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001035/0.7169, allocations: 451.2 kB / 496.7 MB, free: 13.52 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.62e-07/0.717, allocations: 0 / 496.7 MB, free: 13.52 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002367/0.7194, allocations: 295.6 kB / 496.9 MB, free: 13.23 MB / 378.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 59 * 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.007043/0.7265, allocations: 2.009 MB / 498.9 MB, free: 11.17 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004237/0.7308, allocations: 1.232 MB / 0.4885 GB, free: 9.852 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.595e-05/0.7309, allocations: 4.125 kB / 0.4885 GB, free: 9.848 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002756/0.7336, allocations: 0.7112 MB / 0.4892 GB, free: 9.102 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002298/0.736, allocations: 217.7 kB / 0.4894 GB, free: 8.887 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006678/0.7427, allocations: 1.442 MB / 0.4908 GB, free: 7.387 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001023/0.7438, allocations: 0.9558 MB / 0.4917 GB, free: 6.402 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001055/0.7449, allocations: 307.3 kB / 0.492 GB, free: 6.102 MB / 378.7 MB Notification: Performance of SimCode: time 1.783e-06/0.7449, allocations: 0 / 0.492 GB, free: 6.102 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.217/3.962, allocations: 24.26 MB / 0.5157 GB, free: 13.78 MB / 410.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