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_turbulent_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_turbulent_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_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.002255/0.00226, allocations: 182.1 kB / 16.4 MB, free: 5.75 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.199/2.199, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001148/0.001148, allocations: 90.84 kB / 270.9 MB, free: 8.363 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.5372/0.5372, allocations: 43.56 MB / 362.7 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005577/0.0005578, allocations: 12 kB / 431.5 MB, free: 6.035 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1331, allocations: 58.84 MB / 490.3 MB, free: 11.11 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC): time 0.002562/0.1357, allocations: 1.364 MB / 491.7 MB, free: 9.73 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001619/0.1374, allocations: 0.6831 MB / 492.4 MB, free: 9.039 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.767e-05/0.1375, allocations: 8 kB / 492.4 MB, free: 9.031 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002706/0.1378, allocations: 27.83 kB / 492.4 MB, free: 9.004 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002818/0.1381, allocations: 43.86 kB / 492.5 MB, free: 8.961 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002921/0.1384, allocations: 55.88 kB / 492.5 MB, free: 8.906 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002218/0.1387, allocations: 91.78 kB / 492.6 MB, free: 8.816 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.959e-05/0.1388, allocations: 21.38 kB / 492.6 MB, free: 8.793 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.61e-05/0.1389, allocations: 39.84 kB / 492.7 MB, free: 8.754 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001426/0.139, allocations: 55.81 kB / 492.7 MB, free: 8.699 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.318e-05/0.139, allocations: 0 / 492.7 MB, free: 8.699 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002773/0.1393, allocations: 71.88 kB / 492.8 MB, free: 8.629 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.88e-05/0.1394, allocations: 43.89 kB / 492.8 MB, free: 8.586 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.332e-05/0.1395, allocations: 49.58 kB / 492.9 MB, free: 8.531 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002748/0.1398, allocations: 116 kB / 493 MB, free: 8.418 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.1398, allocations: 3.938 kB / 493 MB, free: 8.414 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.654e-06/0.1398, allocations: 0 / 493 MB, free: 8.414 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.1398, allocations: 0 / 493 MB, free: 8.414 MB / 378.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.0008437/0.1407, allocations: 442.7 kB / 493.4 MB, free: 7.934 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.1408, allocations: 15.95 kB / 493.4 MB, free: 7.918 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.887e-05/0.1408, allocations: 46.55 kB / 493.5 MB, free: 7.863 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009845/0.1418, allocations: 87.66 kB / 493.6 MB, free: 7.777 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003526/0.1422, allocations: 226.2 kB / 493.8 MB, free: 7.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.1422, allocations: 7.984 kB / 493.8 MB, free: 7.512 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.961e-05/0.1423, allocations: 8 kB / 493.8 MB, free: 7.504 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008477/0.1432, allocations: 299.9 kB / 494.1 MB, free: 7.199 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.1432, allocations: 0 / 494.1 MB, free: 7.199 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.961e-05/0.1433, allocations: 11.98 kB / 494.1 MB, free: 7.188 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.083e-05/0.1433, allocations: 15.98 kB / 494.1 MB, free: 7.172 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001008/0.1443, allocations: 307.6 kB / 494.4 MB, free: 6.871 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002158/0.1465, allocations: 0.7083 MB / 495.1 MB, free: 6.105 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008791/0.1474, allocations: 286.2 kB / 495.4 MB, free: 5.816 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.484e-05/0.1475, allocations: 4 kB / 495.4 MB, free: 5.812 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.1475, allocations: 30.56 kB / 495.5 MB, free: 5.773 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 2.795e-06/0.1475, allocations: 0 / 495.5 MB, free: 5.773 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.001375/0.1489, allocations: 369.4 kB / 495.8 MB, free: 5.406 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/0.149, allocations: 55.34 kB / 495.9 MB, free: 5.34 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003384/0.1493, allocations: 226.4 kB / 496.1 MB, free: 5.109 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.545e-05/0.1494, allocations: 29.64 kB / 496.1 MB, free: 5.074 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.1495, allocations: 182.3 kB / 496.3 MB, free: 4.895 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.081e-05/0.1496, allocations: 51.3 kB / 496.3 MB, free: 4.844 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.836e-05/0.1496, allocations: 4 kB / 496.3 MB, free: 4.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.1498, allocations: 314.8 kB / 496.7 MB, free: 4.523 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003923/0.1502, allocations: 103.9 kB / 496.8 MB, free: 4.422 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004129/0.1506, allocations: 135.3 kB / 496.9 MB, free: 4.277 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004459/0.1511, allocations: 115.9 kB / 497 MB, free: 4.164 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.1511, allocations: 0 / 497 MB, free: 4.164 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.001034/0.1521, allocations: 293.3 kB / 497.3 MB, free: 3.871 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.1522, allocations: 8 kB / 497.3 MB, free: 3.863 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.1522, allocations: 0 / 497.3 MB, free: 3.863 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.531e-05/0.1522, allocations: 7.984 kB / 497.3 MB, free: 3.855 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04338/0.1956, allocations: 0.9007 MB / 498.2 MB, free: 2.953 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3557/0.5513, allocations: 10.1 MB / 0.4964 GB, free: 36.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005218/0.5519, allocations: 27.2 kB / 0.4964 GB, free: 36.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.421e-05/0.5519, allocations: 10.47 kB / 0.4964 GB, free: 36.82 MB / 378.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.000184/0.5522, allocations: 141.5 kB / 0.4966 GB, free: 36.71 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.469e-05/0.5522, allocations: 16.81 kB / 0.4966 GB, free: 36.7 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01377/0.566, allocations: 0.6302 MB / 0.4972 GB, free: 36.64 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/0.5661, allocations: 0.9375 kB / 0.4972 GB, free: 36.64 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.5661, allocations: 2.078 kB / 0.4972 GB, free: 36.64 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.5661, allocations: 0 / 0.4972 GB, free: 36.64 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00053/0.5667, allocations: 273.9 kB / 0.4975 GB, free: 36.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.5667, allocations: 7.234 kB / 0.4975 GB, free: 36.44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004671/0.5672, allocations: 40.17 kB / 0.4975 GB, free: 36.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01545/0.5826, allocations: 415.1 kB / 0.4979 GB, free: 36.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.789e-05/0.5827, allocations: 9.672 kB / 0.4979 GB, free: 36.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02734/0.6101, allocations: 9.679 MB / 0.5074 GB, free: 28.54 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.6101, allocations: 0 / 0.5074 GB, free: 28.54 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01363/0.6238, allocations: 0.6736 MB / 0.508 GB, free: 28.36 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.6239, allocations: 100.3 kB / 0.5081 GB, free: 28.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.953e-05/0.624, allocations: 1.984 kB / 0.5081 GB, free: 28.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004799/0.6245, allocations: 12.62 kB / 0.5081 GB, free: 28.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002763/0.6248, allocations: 52.03 kB / 0.5082 GB, free: 28.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.189e-05/0.6249, allocations: 9.141 kB / 0.5082 GB, free: 28.24 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002339/0.6251, allocations: 171.2 kB / 0.5084 GB, free: 28.17 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.6251, allocations: 0 / 0.5084 GB, free: 28.17 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008592/0.626, allocations: 95.56 kB / 0.5084 GB, free: 28.16 MB / 378.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): 3 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0137/0.6397, allocations: 1.216 MB / 0.5096 GB, free: 27.46 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.04146/0.6812, allocations: 1.056 MB / 0.5107 GB, free: 27.44 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/0.6813, allocations: 4 kB / 0.5107 GB, free: 27.43 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003347/0.6846, allocations: 0.5339 MB / 0.5112 GB, free: 27.1 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004137/0.6851, allocations: 25.06 kB / 0.5112 GB, free: 27.1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006699/0.6918, allocations: 2.068 MB / 0.5132 GB, free: 26.11 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002558/0.6921, allocations: 0.7413 MB / 0.514 GB, free: 25.41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/0.6923, allocations: 52.3 kB / 0.514 GB, free: 25.4 MB / 378.7 MB Notification: Performance of SimCode: time 1.122e-06/0.6923, allocations: 0 / 0.514 GB, free: 25.4 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.138/3.83, allocations: 7.887 MB / 0.5217 GB, free: 25.13 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_KC.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_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_turbulent_KC_res.mat does not exist to compare? outputFormat=mat