Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_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_laminar_KC,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.001534/0.001534, allocations: 203.5 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.38/1.38, allocations: 225.6 MB / 234.8 MB, free: 3.262 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001324/0.001323, allocations: 98.31 kB / 286.7 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2122/0.2122, allocations: 45.15 MB / 383.8 MB, free: 272 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.712e-05/1.718e-05, allocations: 4 kB / 453.3 MB, free: 75.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1386, allocations: 63.24 MB / 0.5045 GB, free: 12.51 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4151/0.5538, allocations: 90.25 MB / 0.5926 GB, free: 11.99 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002878/0.5541, allocations: 91.5 kB / 0.5927 GB, free: 11.94 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01432/0.5685, allocations: 5.074 MB / 0.5977 GB, free: 7.684 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.5685, allocations: 4 kB / 0.5977 GB, free: 7.68 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.126e-05/0.5685, allocations: 0 / 0.5977 GB, free: 7.68 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.0005788/0.5691, allocations: 430.3 kB / 0.5981 GB, free: 7.223 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.5692, allocations: 8.031 kB / 0.5981 GB, free: 7.215 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005349/0.5697, allocations: 79.53 kB / 0.5982 GB, free: 7.141 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002563/0.57, allocations: 210.7 kB / 0.5984 GB, free: 6.898 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.57, allocations: 7.938 kB / 0.5984 GB, free: 6.891 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.106e-05/0.5701, allocations: 8 kB / 0.5984 GB, free: 6.883 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003578/0.5704, allocations: 193.5 kB / 0.5986 GB, free: 6.734 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003137/0.5707, allocations: 213.7 kB / 0.5988 GB, free: 6.547 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.5708, allocations: 4 kB / 0.5988 GB, free: 6.543 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.308e-05/0.5708, allocations: 0 / 0.5988 GB, free: 6.543 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.25e-05/0.5708, allocations: 18.23 kB / 0.5988 GB, free: 6.527 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001224/0.5721, allocations: 0.6078 MB / 0.5994 GB, free: 5.922 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000288/0.5724, allocations: 195.1 kB / 0.5996 GB, free: 5.742 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.867e-05/0.5725, allocations: 67.11 kB / 0.5996 GB, free: 5.684 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.578e-05/0.5725, allocations: 7.969 kB / 0.5996 GB, free: 5.676 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.5726, allocations: 42.56 kB / 0.5997 GB, free: 5.629 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 1.172e-06/0.5726, allocations: 4 kB / 0.5997 GB, free: 5.625 MB / 394.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003529/0.5729, allocations: 172.5 kB / 0.5998 GB, free: 5.465 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.511e-05/0.573, allocations: 55.41 kB / 0.5999 GB, free: 5.398 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.5731, allocations: 146.3 kB / 0.6 GB, free: 5.262 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.849e-05/0.5732, allocations: 25.7 kB / 0.6001 GB, free: 5.23 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.5733, allocations: 130.2 kB / 0.6002 GB, free: 5.105 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.057e-05/0.5733, allocations: 42.61 kB / 0.6002 GB, free: 5.066 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.365e-05/0.5733, allocations: 4 kB / 0.6002 GB, free: 5.062 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.5735, allocations: 330.1 kB / 0.6005 GB, free: 4.738 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.731e-05/0.5736, allocations: 62.81 kB / 0.6006 GB, free: 4.684 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001269/0.5737, allocations: 93.86 kB / 0.6007 GB, free: 4.59 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.5739, allocations: 82.16 kB / 0.6008 GB, free: 4.52 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.5739, allocations: 0 / 0.6008 GB, free: 4.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003138/0.5742, allocations: 216.2 kB / 0.601 GB, free: 4.316 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.5742, allocations: 5.719 kB / 0.601 GB, free: 4.312 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.5742, allocations: 0 / 0.601 GB, free: 4.312 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.5743, allocations: 4 kB / 0.601 GB, free: 4.309 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002331/0.5766, allocations: 255.5 kB / 0.6012 GB, free: 4.062 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007412/0.584, allocations: 8.066 MB / 0.6091 GB, free: 11.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002334/0.5843, allocations: 19.92 kB / 0.6091 GB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.46e-05/0.5843, allocations: 4.109 kB / 0.6091 GB, free: 11.42 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.0001545/0.5845, allocations: 120.7 kB / 0.6092 GB, free: 11.3 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003187/0.5848, allocations: 173 kB / 0.6094 GB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.875e-05/0.5849, allocations: 15.81 kB / 0.6094 GB, free: 11.12 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003509/0.5852, allocations: 200.4 kB / 0.6096 GB, free: 10.95 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.5852, allocations: 0 / 0.6096 GB, free: 10.95 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.82e-07/0.5852, allocations: 4 kB / 0.6096 GB, free: 10.95 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.5853, allocations: 3.984 kB / 0.6096 GB, free: 10.95 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002986/0.5856, allocations: 213.7 kB / 0.6098 GB, free: 10.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.5856, allocations: 7.938 kB / 0.6098 GB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001645/0.5872, allocations: 203.7 kB / 0.61 GB, free: 10.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.5872, allocations: 0 / 0.61 GB, free: 10.51 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.5873, allocations: 4 kB / 0.61 GB, free: 10.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006382/0.5937, allocations: 7.736 MB / 0.6176 GB, free: 2.219 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.5937, allocations: 0 / 0.6176 GB, free: 2.219 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003167/0.594, allocations: 251.5 kB / 0.6178 GB, free: 1.977 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.245e-05/0.5941, allocations: 96.84 kB / 0.6179 GB, free: 1.863 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.318e-05/0.5941, allocations: 0 / 0.6179 GB, free: 1.863 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001736/0.5943, allocations: 15.98 kB / 0.6179 GB, free: 1.848 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.663e-05/0.5944, allocations: 19.75 kB / 0.6179 GB, free: 1.832 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.5944, allocations: 4 kB / 0.618 GB, free: 1.828 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001197/0.5945, allocations: 142.1 kB / 0.6181 GB, free: 1.703 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5945, allocations: 0 / 0.6181 GB, free: 1.703 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004564/0.595, allocations: 56 kB / 0.6181 GB, free: 1.648 MB / 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 () * 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.000631/0.5956, allocations: 0.7959 MB / 0.6189 GB, free: 0.8477 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009097/0.5966, allocations: 251.6 kB / 0.6192 GB, free: 0.6211 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.5966, allocations: 0 / 0.6192 GB, free: 0.6211 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005759/0.5972, allocations: 140.4 kB / 0.6193 GB, free: 0.4961 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002281/0.5974, allocations: 15.62 kB / 0.6193 GB, free: 496 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001637/0.599, allocations: 408.1 kB / 0.6197 GB, free: 64 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004019/0.5995, allocations: 0.7663 MB / 0.6204 GB, free: 15.27 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003972/0.5999, allocations: 105.6 kB / 0.6205 GB, free: 15.17 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002099/0.6001, allocations: 85.42 kB / 0.6206 GB, free: 15.12 MB / 426.7 MB Notification: Performance of SimCode: time 3.81e-07/0.6001, allocations: 0 / 0.6206 GB, free: 15.12 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02535/0.6254, allocations: 6.08 MB / 0.6266 GB, free: 9.078 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002113/0.6257, allocations: 188.4 kB / 0.6267 GB, free: 8.875 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.795/2.421, allocations: 3.938 kB / 0.6267 GB, free: 8.871 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC_res.mat does not exist to compare? outputFormat=mat