Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC,fileNamePrefix="ModelicaTest_3_2_3_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00082/0.0008199, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 174.4 kB / 16.58 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.557/1.557, allocations: 205.4 MB / 222.8 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3245/0.3245, allocations: 43.54 MB / 314.6 MB, free: 8.727 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005015/0.0005015, allocations: 20 kB / 384.1 MB, free: 7.879 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1056, allocations: 58.85 MB / 442.9 MB, free: 12.92 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC): time 0.001686/0.1073, allocations: 1.388 MB / 444.3 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009476/0.1083, allocations: 0.6949 MB / 445 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.066e-05/0.1083, allocations: 4 kB / 445 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001585/0.1085, allocations: 31.81 kB / 445 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002135/0.1087, allocations: 63.78 kB / 445.1 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001502/0.1089, allocations: 51.81 kB / 445.1 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002206/0.1091, allocations: 203.2 kB / 445.3 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.938e-05/0.1092, allocations: 13.67 kB / 445.3 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.568e-05/0.1092, allocations: 59.77 kB / 445.4 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.1094, allocations: 83.67 kB / 445.5 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.1094, allocations: 4 kB / 445.5 MB, free: 10.31 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001409/0.1095, allocations: 67.88 kB / 445.6 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.433e-05/0.1096, allocations: 47.81 kB / 445.6 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.693e-05/0.1096, allocations: 53.58 kB / 445.7 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001578/0.1098, allocations: 119.6 kB / 445.8 MB, free: 10.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.1098, allocations: 4 kB / 445.8 MB, free: 10.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1098, allocations: 0 / 445.8 MB, free: 10.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.486e-06/0.1098, allocations: 4 kB / 445.8 MB, free: 10.02 MB / 382.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.0005166/0.1104, allocations: 438.7 kB / 446.2 MB, free: 9.539 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.1104, allocations: 16.02 kB / 446.2 MB, free: 9.523 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.458e-05/0.1104, allocations: 46.55 kB / 446.3 MB, free: 9.469 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005011/0.111, allocations: 79.66 kB / 446.3 MB, free: 9.391 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001962/0.1112, allocations: 222.7 kB / 446.6 MB, free: 9.133 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.1112, allocations: 8 kB / 446.6 MB, free: 9.125 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.733e-05/0.1112, allocations: 16 kB / 446.6 MB, free: 9.109 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004575/0.1117, allocations: 299.8 kB / 446.9 MB, free: 8.805 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.1117, allocations: 4 kB / 446.9 MB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.207e-05/0.1117, allocations: 7.984 kB / 446.9 MB, free: 8.793 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.867e-05/0.1118, allocations: 19.92 kB / 446.9 MB, free: 8.773 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005042/0.1123, allocations: 307.7 kB / 447.2 MB, free: 8.473 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.1134, allocations: 0.716 MB / 447.9 MB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004673/0.1139, allocations: 282.2 kB / 448.2 MB, free: 7.418 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001848/0.1141, allocations: 112.8 kB / 448.3 MB, free: 7.305 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.1141, allocations: 112 / 448.3 MB, free: 7.305 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.1141, allocations: 34.5 kB / 448.3 MB, free: 7.262 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 9.51e-07/0.1141, allocations: 4 kB / 448.3 MB, free: 7.258 MB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007298/0.1149, allocations: 369 kB / 448.7 MB, free: 6.891 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.1149, allocations: 51.41 kB / 448.8 MB, free: 6.828 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002094/0.1151, allocations: 230.3 kB / 449 MB, free: 6.594 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.1152, allocations: 25.7 kB / 449 MB, free: 6.562 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.213e-05/0.1153, allocations: 123.9 kB / 449.1 MB, free: 6.438 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.105e-05/0.1153, allocations: 47.28 kB / 449.2 MB, free: 6.391 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.541e-05/0.1153, allocations: 4 kB / 449.2 MB, free: 6.387 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.1155, allocations: 322.8 kB / 449.5 MB, free: 6.062 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001964/0.1157, allocations: 107.9 kB / 449.6 MB, free: 5.957 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002159/0.1159, allocations: 135.3 kB / 449.7 MB, free: 5.812 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002194/0.1161, allocations: 115.9 kB / 449.8 MB, free: 5.699 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1161, allocations: 0 / 449.8 MB, free: 5.699 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005293/0.1167, allocations: 313.1 kB / 450.2 MB, free: 5.387 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.1167, allocations: 4 kB / 450.2 MB, free: 5.383 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1167, allocations: 0 / 450.2 MB, free: 5.383 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.1167, allocations: 7.953 kB / 450.2 MB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0163/0.133, allocations: 0.9008 MB / 451.1 MB, free: 4.473 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1753/0.3083, allocations: 9.903 MB / 461 MB, free: 41.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002932/0.3087, allocations: 29.27 kB / 461 MB, free: 41.49 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.592e-05/0.3087, allocations: 13.64 kB / 461 MB, free: 41.49 MB / 382.1 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.0001322/0.3088, allocations: 141.1 kB / 461.1 MB, free: 41.38 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.211e-05/0.3089, allocations: 15.83 kB / 461.2 MB, free: 41.38 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005162/0.3141, allocations: 0.6294 MB / 461.8 MB, free: 41.32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.3141, allocations: 0 / 461.8 MB, free: 41.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.3141, allocations: 3.812 kB / 461.8 MB, free: 41.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.3141, allocations: 0 / 461.8 MB, free: 41.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002644/0.3144, allocations: 274.3 kB / 462.1 MB, free: 41.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.3144, allocations: 0.625 kB / 462.1 MB, free: 41.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002153/0.3146, allocations: 43.19 kB / 462.1 MB, free: 41.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005677/0.3203, allocations: 417.4 kB / 462.5 MB, free: 41.11 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.106e-05/0.3203, allocations: 9.656 kB / 462.5 MB, free: 41.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01078/0.3311, allocations: 9.512 MB / 472 MB, free: 33.26 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.3311, allocations: 0 / 472 MB, free: 33.26 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004963/0.3361, allocations: 0.68 MB / 472.7 MB, free: 33.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.531e-05/0.3362, allocations: 102.8 kB / 472.8 MB, free: 32.97 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.969e-05/0.3362, allocations: 0 / 472.8 MB, free: 32.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002077/0.3364, allocations: 17.69 kB / 472.8 MB, free: 32.97 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.3365, allocations: 43.55 kB / 472.9 MB, free: 32.97 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.8e-05/0.3366, allocations: 13.03 kB / 472.9 MB, free: 32.96 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001148/0.3367, allocations: 171.4 kB / 473.1 MB, free: 32.89 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3367, allocations: 0 / 473.1 MB, free: 32.89 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004912/0.3372, allocations: 91.41 kB / 473.1 MB, free: 32.89 MB / 382.1 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.004998/0.3422, allocations: 1.222 MB / 474.4 MB, free: 32.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0151/0.3573, allocations: 1.103 MB / 475.5 MB, free: 32.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3573, allocations: 0 / 475.5 MB, free: 32.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00129/0.3586, allocations: 0.5309 MB / 476 MB, free: 31.83 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003036/0.3589, allocations: 33.5 kB / 476 MB, free: 31.83 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002975/0.3619, allocations: 1.617 MB / 477.6 MB, free: 31.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001215/0.362, allocations: 0.7423 MB / 478.4 MB, free: 30.62 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.105e-05/0.3621, allocations: 51.16 kB / 478.4 MB, free: 30.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.12e-05/0.3622, allocations: 54.09 kB / 478.5 MB, free: 30.61 MB / 382.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3622, allocations: 0 / 478.5 MB, free: 30.61 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05741/0.4196, allocations: 9.061 MB / 487.6 MB, free: 29.91 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002037/0.4199, allocations: 248.2 kB / 487.8 MB, free: 29.58 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.935/2.355, allocations: 0 / 487.8 MB, free: 29.58 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC_res.mat does not exist to compare? outputFormat=mat