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_KC.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_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC",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.001492/0.001497, allocations: 186 kB / 16.4 MB, free: 5.699 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.015/2.015, allocations: 205.4 MB / 222.5 MB, free: 9.121 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: 91.39 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5213/0.5213, allocations: 43.56 MB / 362.7 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006379/0.0006381, allocations: 8 kB / 431.5 MB, free: 5.816 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1366, allocations: 58.84 MB / 490.3 MB, free: 10.88 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4686/0.6053, allocations: 88.81 MB / 0.5656 GB, free: 13.55 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004028/0.6057, allocations: 95.94 kB / 0.5657 GB, free: 13.45 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02909/0.6349, allocations: 4.943 MB / 0.5705 GB, free: 8.504 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.296e-06/0.6349, allocations: 0 / 0.5705 GB, free: 8.504 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.829e-05/0.635, allocations: 8 kB / 0.5705 GB, free: 8.496 MB / 394.7 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.001109/0.6361, allocations: 434.6 kB / 0.5709 GB, free: 8.027 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.763e-05/0.6362, allocations: 8.562 kB / 0.5709 GB, free: 8.02 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001076/0.6363, allocations: 54.53 kB / 0.571 GB, free: 7.957 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001386/0.6377, allocations: 87.16 kB / 0.5711 GB, free: 7.875 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004707/0.6382, allocations: 217.7 kB / 0.5713 GB, free: 7.625 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.46e-05/0.6382, allocations: 4 kB / 0.5713 GB, free: 7.621 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.376e-05/0.6383, allocations: 8 kB / 0.5713 GB, free: 7.613 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001047/0.6394, allocations: 255 kB / 0.5715 GB, free: 7.352 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.6394, allocations: 0 / 0.5715 GB, free: 7.352 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.672e-05/0.6395, allocations: 4 kB / 0.5715 GB, free: 7.348 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.179e-05/0.6396, allocations: 19.98 kB / 0.5715 GB, free: 7.328 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001276/0.6409, allocations: 259.6 kB / 0.5718 GB, free: 7.078 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00271/0.6436, allocations: 0.6608 MB / 0.5724 GB, free: 6.367 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009568/0.6446, allocations: 242.8 kB / 0.5727 GB, free: 6.121 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.494e-05/0.6447, allocations: 0 / 0.5727 GB, free: 6.121 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.746e-05/0.6448, allocations: 34.56 kB / 0.5727 GB, free: 6.078 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 2.996e-06/0.6448, allocations: 4 kB / 0.5727 GB, free: 6.074 MB / 394.7 MB Notification: Performance of matching and sorting (n=13): time 0.001586/0.6464, allocations: 297.2 kB / 0.573 GB, free: 5.777 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.954e-05/0.6465, allocations: 51.41 kB / 0.573 GB, free: 5.715 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004521/0.647, allocations: 210.9 kB / 0.5732 GB, free: 5.504 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.967e-05/0.647, allocations: 25.7 kB / 0.5733 GB, free: 5.473 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001556/0.6472, allocations: 182.3 kB / 0.5734 GB, free: 5.293 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.834e-05/0.6473, allocations: 51.34 kB / 0.5735 GB, free: 5.242 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.401e-05/0.6474, allocations: 4 kB / 0.5735 GB, free: 5.238 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.6475, allocations: 318.8 kB / 0.5738 GB, free: 4.918 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000465/0.648, allocations: 87.84 kB / 0.5739 GB, free: 4.832 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004694/0.6485, allocations: 119.3 kB / 0.574 GB, free: 4.703 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005499/0.6491, allocations: 100.2 kB / 0.5741 GB, free: 4.605 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.6491, allocations: 0 / 0.5741 GB, free: 4.605 MB / 394.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.001166/0.6503, allocations: 253.8 kB / 0.5743 GB, free: 4.352 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.945e-05/0.6504, allocations: 4 kB / 0.5743 GB, free: 4.348 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.6504, allocations: 0 / 0.5743 GB, free: 4.348 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.87e-05/0.6504, allocations: 4 kB / 0.5743 GB, free: 4.344 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006187/0.6566, allocations: 259.7 kB / 0.5746 GB, free: 4.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01624/0.673, allocations: 8.427 MB / 0.5828 GB, free: 10.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005892/0.6736, allocations: 32.59 kB / 0.5828 GB, free: 10.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.118e-05/0.6737, allocations: 8 kB / 0.5829 GB, free: 10.83 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002954/0.674, allocations: 146 kB / 0.583 GB, free: 10.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.6741, allocations: 15.81 kB / 0.583 GB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001234/0.6754, allocations: 259.5 kB / 0.5833 GB, free: 10.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/0.6754, allocations: 4 kB / 0.5833 GB, free: 10.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.6755, allocations: 0 / 0.5833 GB, free: 10.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.6755, allocations: 0 / 0.5833 GB, free: 10.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006295/0.6761, allocations: 233.5 kB / 0.5835 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.265e-06/0.6762, allocations: 4 kB / 0.5835 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004323/0.6805, allocations: 215.8 kB / 0.5837 GB, free: 9.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-05/0.6806, allocations: 3.938 kB / 0.5837 GB, free: 9.906 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.866e-05/0.6806, allocations: 3.953 kB / 0.5837 GB, free: 9.902 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01347/0.6941, allocations: 8.068 MB / 0.5916 GB, free: 1.051 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.6942, allocations: 0 / 0.5916 GB, free: 1.051 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001128/0.6953, allocations: 305.7 kB / 0.5919 GB, free: 0.7383 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001597/0.6955, allocations: 104.8 kB / 0.592 GB, free: 0.6172 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.316e-05/0.6956, allocations: 0 / 0.592 GB, free: 0.6172 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004613/0.6961, allocations: 19.98 kB / 0.592 GB, free: 0.5977 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001595/0.6962, allocations: 11.97 kB / 0.592 GB, free: 0.5859 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.473e-05/0.6963, allocations: 8 kB / 0.592 GB, free: 0.5781 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004043/0.6967, allocations: 187.2 kB / 0.5922 GB, free: 404 kB / 410.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.6967, allocations: 0 / 0.5922 GB, free: 404 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.000994/0.6977, allocations: 63.98 kB / 0.5922 GB, free: 340 kB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (13): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001701/0.6995, allocations: 0.8449 MB / 0.5931 GB, free: 15.46 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006625/0.7061, allocations: 349.7 kB / 0.5934 GB, free: 15.12 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.769e-06/0.7062, allocations: 7.938 kB / 0.5934 GB, free: 15.11 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004668/0.7109, allocations: 231.7 kB / 0.5936 GB, free: 14.88 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006739/0.7116, allocations: 31.98 kB / 0.5937 GB, free: 14.85 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007394/0.7191, allocations: 1.894 MB / 0.5955 GB, free: 12.89 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005797/0.7197, allocations: 0.7437 MB / 0.5962 GB, free: 12.12 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002133/0.7199, allocations: 47.42 kB / 0.5963 GB, free: 12.07 MB / 426.7 MB Notification: Performance of SimCode: time 1.203e-06/0.72, allocations: 4 kB / 0.5963 GB, free: 12.07 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.318/4.038, allocations: 7.136 MB / 0.6033 GB, free: 4.961 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.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_KC_res.mat does not exist to compare? outputFormat=mat