Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 169 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 221.5 MB / 230.7 MB, free: 7.566 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008531/0.0008531, allocations: 92.98 kB / 281.6 MB, free: 5.309 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.198/0.198, allocations: 44.14 MB / 376.5 MB, free: 3.031 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.656e-05/1.659e-05, allocations: 4 kB / 444.8 MB, free: 15.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1435, allocations: 61.91 MB / 0.4948 GB, free: 1.109 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4475/0.5911, allocations: 89.19 MB / 0.5819 GB, free: 7.121 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000278/0.5914, allocations: 91.92 kB / 0.582 GB, free: 7.031 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01432/0.6057, allocations: 5.017 MB / 0.5869 GB, free: 1.992 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.6058, allocations: 0 / 0.5869 GB, free: 1.992 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.16e-05/0.6058, allocations: 4 kB / 0.5869 GB, free: 1.988 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.0005475/0.6064, allocations: 422.1 kB / 0.5873 GB, free: 1.531 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.6064, allocations: 11.98 kB / 0.5873 GB, free: 1.52 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005538/0.607, allocations: 79.73 kB / 0.5874 GB, free: 1.441 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002487/0.6072, allocations: 214.8 kB / 0.5876 GB, free: 1.191 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.6072, allocations: 4 kB / 0.5876 GB, free: 1.188 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.395e-05/0.6073, allocations: 4 kB / 0.5876 GB, free: 1.184 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003613/0.6076, allocations: 204 kB / 0.5878 GB, free: 0.9805 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003149/0.608, allocations: 212.1 kB / 0.588 GB, free: 0.7617 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.608, allocations: 0 / 0.588 GB, free: 0.7617 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.029e-05/0.608, allocations: 0 / 0.588 GB, free: 0.7617 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.336e-05/0.6081, allocations: 19.98 kB / 0.588 GB, free: 0.7422 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001139/0.6092, allocations: 0.6023 MB / 0.5886 GB, free: 100 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003213/0.6095, allocations: 206.3 kB / 0.5888 GB, free: 15.89 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.6096, allocations: 60.86 kB / 0.5888 GB, free: 15.82 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.833e-05/0.6097, allocations: 11.92 kB / 0.5889 GB, free: 15.81 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.6097, allocations: 38.55 kB / 0.5889 GB, free: 15.77 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.432e-06/0.6097, allocations: 0 / 0.5889 GB, free: 15.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003509/0.6101, allocations: 179.7 kB / 0.5891 GB, free: 15.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.09e-05/0.6101, allocations: 55.41 kB / 0.5891 GB, free: 15.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.6103, allocations: 141.5 kB / 0.5892 GB, free: 15.37 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.6103, allocations: 25.7 kB / 0.5893 GB, free: 15.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.758e-05/0.6104, allocations: 128.1 kB / 0.5894 GB, free: 15.21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.916e-05/0.6104, allocations: 43.36 kB / 0.5894 GB, free: 15.17 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.257e-05/0.6105, allocations: 0 / 0.5894 GB, free: 15.17 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.6106, allocations: 326.8 kB / 0.5897 GB, free: 14.84 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.911e-05/0.6107, allocations: 63.94 kB / 0.5898 GB, free: 14.78 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001277/0.6108, allocations: 104.4 kB / 0.5899 GB, free: 14.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000119/0.611, allocations: 75.91 kB / 0.59 GB, free: 14.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.611, allocations: 0 / 0.59 GB, free: 14.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003191/0.6113, allocations: 209.4 kB / 0.5902 GB, free: 14.38 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.6113, allocations: 7.953 kB / 0.5902 GB, free: 14.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.6113, allocations: 8.094 kB / 0.5902 GB, free: 14.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.6113, allocations: 0 / 0.5902 GB, free: 14.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002404/0.6138, allocations: 255.5 kB / 0.5904 GB, free: 14.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007001/0.6208, allocations: 8.048 MB / 0.5983 GB, free: 5.367 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002375/0.621, allocations: 28.06 kB / 0.5983 GB, free: 5.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.19e-05/0.6211, allocations: 8 kB / 0.5983 GB, free: 5.332 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 () * 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.0001202/0.6212, allocations: 105 kB / 0.5984 GB, free: 5.223 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002936/0.6215, allocations: 184.1 kB / 0.5986 GB, free: 5.039 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.896e-05/0.6216, allocations: 15.77 kB / 0.5986 GB, free: 5.023 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003513/0.6219, allocations: 206.1 kB / 0.5988 GB, free: 4.816 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.6219, allocations: 4.109 kB / 0.5988 GB, free: 4.812 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-06/0.6219, allocations: 3.938 kB / 0.5988 GB, free: 4.809 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.6219, allocations: 0 / 0.5988 GB, free: 4.809 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002494/0.6222, allocations: 210 kB / 0.599 GB, free: 4.566 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-06/0.6222, allocations: 0 / 0.599 GB, free: 4.566 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00172/0.6239, allocations: 215.6 kB / 0.5992 GB, free: 4.355 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.6239, allocations: 3.953 kB / 0.5992 GB, free: 4.352 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.624, allocations: 4 kB / 0.5992 GB, free: 4.348 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006052/0.63, allocations: 7.727 MB / 0.6068 GB, free: 11.95 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.6301, allocations: 256 / 0.6068 GB, free: 11.95 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003144/0.6304, allocations: 251.2 kB / 0.607 GB, free: 11.68 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.399e-05/0.6305, allocations: 104.8 kB / 0.6071 GB, free: 11.56 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.35e-05/0.6305, allocations: 0 / 0.6071 GB, free: 11.56 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001814/0.6307, allocations: 11.98 kB / 0.6071 GB, free: 11.55 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.273e-05/0.6308, allocations: 19.97 kB / 0.6072 GB, free: 11.53 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.6308, allocations: 7.938 kB / 0.6072 GB, free: 11.52 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001212/0.6309, allocations: 133.1 kB / 0.6073 GB, free: 11.39 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.6309, allocations: 4 kB / 0.6073 GB, free: 11.39 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004696/0.6314, allocations: 55.94 kB / 0.6073 GB, free: 11.33 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): 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.0006364/0.632, allocations: 0.8045 MB / 0.6081 GB, free: 10.51 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009466/0.633, allocations: 247.8 kB / 0.6084 GB, free: 10.27 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.633, allocations: 0 / 0.6084 GB, free: 10.27 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005863/0.6336, allocations: 131.8 kB / 0.6085 GB, free: 10.14 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.6339, allocations: 22.78 kB / 0.6085 GB, free: 10.12 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/0.6355, allocations: 406.5 kB / 0.6089 GB, free: 9.684 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003193/0.6359, allocations: 0.767 MB / 0.6097 GB, free: 8.891 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003576/0.6362, allocations: 97.7 kB / 0.6097 GB, free: 8.797 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002212/0.6364, allocations: 95.34 kB / 0.6098 GB, free: 8.703 MB / 426.7 MB Notification: Performance of SimCode: time 6.61e-07/0.6365, allocations: 0 / 0.6098 GB, free: 8.703 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02665/0.6631, allocations: 6.085 MB / 0.6158 GB, free: 2.637 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002536/0.6634, allocations: 179.3 kB / 0.616 GB, free: 2.441 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.805/2.468, allocations: 1.547 kB / 0.616 GB, free: 2.441 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC_res.mat does not exist to compare? outputFormat=mat