Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.001004/0.001004, allocations: 196.6 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.295/1.295, allocations: 225.4 MB / 240.1 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009042/0.000904, allocations: 87.94 kB / 292.1 MB, free: 5.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1822/0.1822, allocations: 45.14 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.514e-05/3.517e-05, allocations: 4 kB / 460.5 MB, free: 69.88 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1127, allocations: 63.24 MB / 0.5115 GB, free: 6.656 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3984/0.5112, allocations: 90.99 MB / 0.6003 GB, free: 2.844 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002825/0.5115, allocations: 91.06 kB / 0.6004 GB, free: 2.793 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01724/0.5288, allocations: 5.991 MB / 0.6063 GB, free: 13.67 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.5288, allocations: 0 / 0.6063 GB, free: 13.67 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.221e-05/0.5288, allocations: 0 / 0.6063 GB, free: 13.67 MB / 410.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.000661/0.5295, allocations: 432.6 kB / 0.6067 GB, free: 13.21 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/0.5296, allocations: 12.03 kB / 0.6067 GB, free: 13.2 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.106e-05/0.5297, allocations: 49.55 kB / 0.6067 GB, free: 13.15 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007222/0.5304, allocations: 98.11 kB / 0.6068 GB, free: 13.06 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002998/0.5307, allocations: 226.7 kB / 0.6071 GB, free: 12.8 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.5307, allocations: 15.47 kB / 0.6071 GB, free: 12.79 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.502e-05/0.5308, allocations: 6.562 kB / 0.6071 GB, free: 12.79 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004662/0.5313, allocations: 279.7 kB / 0.6073 GB, free: 12.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.5313, allocations: 0 / 0.6073 GB, free: 12.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.442e-05/0.5313, allocations: 3.938 kB / 0.6074 GB, free: 12.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.09e-05/0.5314, allocations: 19.92 kB / 0.6074 GB, free: 12.53 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004453/0.5318, allocations: 270.8 kB / 0.6076 GB, free: 12.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001467/0.5333, allocations: 0.7243 MB / 0.6083 GB, free: 11.6 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004112/0.5337, allocations: 266.9 kB / 0.6086 GB, free: 11.36 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001377/0.5339, allocations: 87.19 kB / 0.6087 GB, free: 11.28 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.375e-05/0.5339, allocations: 11.92 kB / 0.6087 GB, free: 11.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.5339, allocations: 38.06 kB / 0.6087 GB, free: 11.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.854e-06/0.534, allocations: 0 / 0.6087 GB, free: 11.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004735/0.5344, allocations: 234.8 kB / 0.6089 GB, free: 11.01 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/0.5345, allocations: 55.34 kB / 0.609 GB, free: 10.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001971/0.5347, allocations: 202.1 kB / 0.6092 GB, free: 10.76 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.918e-05/0.5347, allocations: 25.7 kB / 0.6092 GB, free: 10.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.184e-05/0.5348, allocations: 116.5 kB / 0.6093 GB, free: 10.63 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.414e-05/0.5349, allocations: 45.8 kB / 0.6094 GB, free: 10.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.497e-05/0.5349, allocations: 11.81 kB / 0.6094 GB, free: 10.58 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.535, allocations: 329.6 kB / 0.6097 GB, free: 10.26 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001422/0.5352, allocations: 93.95 kB / 0.6098 GB, free: 10.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001538/0.5353, allocations: 111.3 kB / 0.6099 GB, free: 10.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001808/0.5355, allocations: 108.6 kB / 0.61 GB, free: 9.973 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.5355, allocations: 0 / 0.61 GB, free: 9.973 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004264/0.5359, allocations: 259 kB / 0.6102 GB, free: 9.734 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.536, allocations: 8 kB / 0.6102 GB, free: 9.727 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.536, allocations: 4 kB / 0.6103 GB, free: 9.723 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.536, allocations: 0 / 0.6103 GB, free: 9.723 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01558/0.5516, allocations: 0.9389 MB / 0.6112 GB, free: 8.789 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0198/0.5715, allocations: 10.04 MB / 0.621 GB, free: 14.19 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004269/0.572, allocations: 27.77 kB / 0.621 GB, free: 14.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.269e-05/0.572, allocations: 15.97 kB / 0.621 GB, free: 14.15 MB / 426.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 () * 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.0001355/0.5722, allocations: 122.6 kB / 0.6211 GB, free: 14.03 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.018e-05/0.5722, allocations: 15.77 kB / 0.6211 GB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006161/0.5784, allocations: 0.638 MB / 0.6218 GB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.5785, allocations: 0 / 0.6218 GB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.5785, allocations: 4 kB / 0.6218 GB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.5785, allocations: 0 / 0.6218 GB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004122/0.5789, allocations: 276 kB / 0.622 GB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.5789, allocations: 0 / 0.622 GB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002566/0.5792, allocations: 39.91 kB / 0.6221 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006902/0.5861, allocations: 480.6 kB / 0.6225 GB, free: 12.6 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.949e-05/0.5862, allocations: 11.78 kB / 0.6225 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01333/0.5995, allocations: 9.491 MB / 0.6318 GB, free: 2.551 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.5996, allocations: 0 / 0.6318 GB, free: 2.551 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00598/0.6055, allocations: 0.6926 MB / 0.6325 GB, free: 1.867 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.245e-05/0.6057, allocations: 100.8 kB / 0.6326 GB, free: 1.75 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.008e-05/0.6057, allocations: 3.5 kB / 0.6326 GB, free: 1.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002713/0.606, allocations: 19.98 kB / 0.6326 GB, free: 1.73 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001559/0.6062, allocations: 39.52 kB / 0.6326 GB, free: 1.695 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.391e-05/0.6062, allocations: 15.09 kB / 0.6327 GB, free: 1.684 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000158/0.6064, allocations: 172.4 kB / 0.6328 GB, free: 1.535 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6064, allocations: 0 / 0.6328 GB, free: 1.535 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005995/0.607, allocations: 99.25 kB / 0.6329 GB, free: 1.445 MB / 426.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 () * 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.006328/0.6133, allocations: 1.251 MB / 0.6341 GB, free: 208 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01105/0.6244, allocations: 0.7415 MB / 0.6349 GB, free: 15.49 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.6244, allocations: 7.938 kB / 0.6349 GB, free: 15.48 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00179/0.6262, allocations: 0.5068 MB / 0.6354 GB, free: 14.96 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003521/0.6266, allocations: 34.61 kB / 0.6354 GB, free: 14.93 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002639/0.6292, allocations: 0.5861 MB / 0.636 GB, free: 14.34 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003134/0.6296, allocations: 0.7544 MB / 0.6367 GB, free: 13.56 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001231/0.6297, allocations: 41.52 kB / 0.6367 GB, free: 13.51 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.285e-05/0.6298, allocations: 58.25 kB / 0.6368 GB, free: 13.48 MB / 442.7 MB Notification: Performance of SimCode: time 9.92e-07/0.6298, allocations: 0 / 0.6368 GB, free: 13.48 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0243/0.6541, allocations: 9.168 MB / 0.6458 GB, free: 4.574 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002272/0.6544, allocations: 217.5 kB / 0.646 GB, free: 4.352 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.863/2.518, allocations: 0 / 0.646 GB, free: 4.352 MB / 442.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC_res.mat does not exist to compare? outputFormat=mat