Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar",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.00217/0.00217, allocations: 178.2 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.031/2.031, allocations: 205.3 MB / 214.1 MB, free: 14.12 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001121/0.001121, allocations: 87.84 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3027/0.3027, allocations: 43.49 MB / 353.6 MB, free: 2.254 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.189e-05/2.214e-05, allocations: 4.219 kB / 418.3 MB, free: 40.91 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4059/0.4059, allocations: 58.86 MB / 477.2 MB, free: 5.164 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1735/0.5794, allocations: 89.98 MB / 0.5539 GB, free: 9.195 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003712/0.5799, allocations: 91.94 kB / 0.554 GB, free: 9.105 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03107/0.611, allocations: 6.225 MB / 0.5601 GB, free: 2.836 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.611, allocations: 0 / 0.5601 GB, free: 2.836 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.678e-05/0.611, allocations: 4 kB / 0.5601 GB, free: 2.832 MB / 395.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001546/0.6126, allocations: 486.8 kB / 0.5605 GB, free: 2.309 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.93e-05/0.6127, allocations: 8.031 kB / 0.5605 GB, free: 2.301 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001228/0.6128, allocations: 23.72 kB / 0.5606 GB, free: 2.277 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004427/0.6133, allocations: 222.7 kB / 0.5608 GB, free: 2.02 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.6133, allocations: 8 kB / 0.5608 GB, free: 2.012 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.031e-05/0.6134, allocations: 8 kB / 0.5608 GB, free: 2.004 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004159/0.6138, allocations: 132.4 kB / 0.5609 GB, free: 1.871 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005105/0.6143, allocations: 214.5 kB / 0.5611 GB, free: 1.645 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.6144, allocations: 0 / 0.5611 GB, free: 1.645 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.81e-05/0.6144, allocations: 0 / 0.5611 GB, free: 1.645 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.048e-05/0.6145, allocations: 20.16 kB / 0.5611 GB, free: 1.625 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00172/0.6162, allocations: 0.7674 MB / 0.5619 GB, free: 0.8086 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003709/0.6166, allocations: 151.7 kB / 0.562 GB, free: 0.6328 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000193/0.6168, allocations: 74.53 kB / 0.5621 GB, free: 0.5508 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.834e-05/0.6169, allocations: 3.984 kB / 0.5621 GB, free: 0.5469 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.037e-05/0.6169, allocations: 38.56 kB / 0.5621 GB, free: 0.5 MB / 395.1 MB Notification: Performance of pre-optimization done (n=11): time 3.346e-06/0.617, allocations: 0 / 0.5621 GB, free: 0.5 MB / 395.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006252/0.6176, allocations: 169.5 kB / 0.5623 GB, free: 336 kB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.851e-05/0.6177, allocations: 102.8 kB / 0.5624 GB, free: 208 kB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000262/0.618, allocations: 174.6 kB / 0.5626 GB, free: 20 kB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 5.403e-05/0.618, allocations: 25.7 kB / 0.5626 GB, free: 15.99 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001373/0.6182, allocations: 198.4 kB / 0.5628 GB, free: 15.79 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.49e-05/0.6183, allocations: 43.52 kB / 0.5628 GB, free: 15.75 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.878e-05/0.6183, allocations: 3.938 kB / 0.5628 GB, free: 15.74 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.6184, allocations: 318.8 kB / 0.5631 GB, free: 15.42 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002075/0.6187, allocations: 59.95 kB / 0.5632 GB, free: 15.36 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002297/0.6189, allocations: 101.1 kB / 0.5633 GB, free: 15.25 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002337/0.6191, allocations: 76.67 kB / 0.5634 GB, free: 15.17 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.6192, allocations: 0 / 0.5634 GB, free: 15.17 MB / 411.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000584/0.6198, allocations: 189.4 kB / 0.5635 GB, free: 14.98 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/0.6198, allocations: 7.984 kB / 0.5635 GB, free: 14.97 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.504e-05/0.6199, allocations: 8.188 kB / 0.5636 GB, free: 14.96 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/0.6199, allocations: 4 kB / 0.5636 GB, free: 14.96 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004786/0.6204, allocations: 56.05 kB / 0.5636 GB, free: 14.91 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.6204, allocations: 0 / 0.5636 GB, free: 14.91 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003979/0.6208, allocations: 35.81 kB / 0.5636 GB, free: 14.87 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-05/0.6209, allocations: 7.953 kB / 0.5636 GB, free: 14.86 MB / 411.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000126/0.621, allocations: 112.9 kB / 0.5638 GB, free: 14.75 MB / 411.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005562/0.6216, allocations: 169.3 kB / 0.5639 GB, free: 14.57 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.494e-05/0.6217, allocations: 15.81 kB / 0.5639 GB, free: 14.56 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005557/0.6223, allocations: 183.4 kB / 0.5641 GB, free: 14.38 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.6223, allocations: 0 / 0.5641 GB, free: 14.38 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/0.6223, allocations: 7.953 kB / 0.5641 GB, free: 14.37 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.6223, allocations: 3.984 kB / 0.5641 GB, free: 14.36 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005732/0.6229, allocations: 222.1 kB / 0.5643 GB, free: 14.11 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.188e-05/0.623, allocations: 12.06 kB / 0.5643 GB, free: 14.1 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003932/0.6234, allocations: 43.88 kB / 0.5644 GB, free: 14.05 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.055e-05/0.6234, allocations: 4 kB / 0.5644 GB, free: 14.05 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.392e-05/0.6234, allocations: 0 / 0.5644 GB, free: 14.05 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.134e-05/0.6234, allocations: 4 kB / 0.5644 GB, free: 14.05 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.6235, allocations: 0 / 0.5644 GB, free: 14.05 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006701/0.6241, allocations: 445.1 kB / 0.5648 GB, free: 13.58 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.764e-05/0.6243, allocations: 92.92 kB / 0.5649 GB, free: 13.47 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.112e-05/0.6243, allocations: 4 kB / 0.5649 GB, free: 13.47 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004746/0.6248, allocations: 35.86 kB / 0.5649 GB, free: 13.43 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.045e-05/0.6249, allocations: 7.984 kB / 0.565 GB, free: 13.43 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.139e-05/0.625, allocations: 15.98 kB / 0.565 GB, free: 13.41 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0001794/0.6251, allocations: 133.2 kB / 0.5651 GB, free: 13.28 MB / 411.1 MB Notification: Performance of sort global known variables: time 4.4e-07/0.6252, allocations: 0 / 0.5651 GB, free: 13.28 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0006744/0.6258, allocations: 75.78 kB / 0.5652 GB, free: 13.21 MB / 411.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001358/0.6272, allocations: 1.167 MB / 0.5663 GB, free: 12 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0005754/0.6278, allocations: 220.9 kB / 0.5665 GB, free: 11.77 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.6278, allocations: 4.312 kB / 0.5665 GB, free: 11.77 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002712/0.6281, allocations: 149 kB / 0.5667 GB, free: 11.6 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005029/0.6286, allocations: 28.03 kB / 0.5667 GB, free: 11.57 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001624/0.6303, allocations: 390.1 kB / 0.5671 GB, free: 11.14 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004772/0.6308, allocations: 0.747 MB / 0.5678 GB, free: 10.37 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001926/0.631, allocations: 51.41 kB / 0.5678 GB, free: 10.32 MB / 411.1 MB Notification: Performance of SimCode: time 1.333e-06/0.631, allocations: 3.938 kB / 0.5678 GB, free: 10.32 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.589/3.22, allocations: 4.041 MB / 0.5718 GB, free: 6.285 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_res.mat does not exist to compare? outputFormat=mat