Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_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.Channel.kc_evenGapTurbulent_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_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.00146/0.00146, allocations: 197.7 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.506/1.506, allocations: 225.6 MB / 234.8 MB, free: 3.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009742/0.0009743, allocations: 96.92 kB / 286.7 MB, free: 5.242 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2476/0.2476, allocations: 45.16 MB / 383.8 MB, free: 268 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.344e-05/4.371e-05, allocations: 4 kB / 453.3 MB, free: 75.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1503, allocations: 63.25 MB / 0.5045 GB, free: 12.51 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.473/0.6234, allocations: 91.42 MB / 0.5938 GB, free: 10.76 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002983/0.6237, allocations: 91.47 kB / 0.5938 GB, free: 10.71 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01966/0.6434, allocations: 6.935 MB / 0.6006 GB, free: 4.914 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.6435, allocations: 0 / 0.6006 GB, free: 4.914 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.34e-05/0.6435, allocations: 0 / 0.6006 GB, free: 4.914 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.000642/0.6441, allocations: 429.9 kB / 0.601 GB, free: 4.461 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.6442, allocations: 12.03 kB / 0.601 GB, free: 4.449 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.84e-05/0.6443, allocations: 11.81 kB / 0.601 GB, free: 4.438 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002918/0.6446, allocations: 202.2 kB / 0.6012 GB, free: 4.203 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.6446, allocations: 4 kB / 0.6012 GB, free: 4.199 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.654e-05/0.6446, allocations: 8 kB / 0.6013 GB, free: 4.191 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002229/0.6448, allocations: 114.5 kB / 0.6014 GB, free: 4.109 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002321/0.6451, allocations: 142.6 kB / 0.6015 GB, free: 3.988 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.6451, allocations: 7.938 kB / 0.6015 GB, free: 3.98 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.6451, allocations: 0 / 0.6015 GB, free: 3.98 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.944e-05/0.6452, allocations: 15.98 kB / 0.6015 GB, free: 3.965 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007922/0.646, allocations: 442.9 kB / 0.6019 GB, free: 3.531 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003149/0.6463, allocations: 139.7 kB / 0.6021 GB, free: 3.398 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.685e-05/0.6464, allocations: 55.58 kB / 0.6021 GB, free: 3.348 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.631e-05/0.6464, allocations: 0 / 0.6021 GB, free: 3.348 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.6465, allocations: 30.56 kB / 0.6022 GB, free: 3.309 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.333e-06/0.6465, allocations: 0 / 0.6022 GB, free: 3.309 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002831/0.6467, allocations: 119.4 kB / 0.6023 GB, free: 3.195 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.6468, allocations: 51.41 kB / 0.6023 GB, free: 3.133 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.6469, allocations: 125.9 kB / 0.6024 GB, free: 3.012 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.744e-05/0.6469, allocations: 25.7 kB / 0.6025 GB, free: 2.98 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.345e-05/0.647, allocations: 126.3 kB / 0.6026 GB, free: 2.863 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.908e-05/0.6471, allocations: 30.86 kB / 0.6026 GB, free: 2.836 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.494e-06/0.6471, allocations: 0 / 0.6026 GB, free: 2.836 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.6472, allocations: 326.1 kB / 0.6029 GB, free: 2.512 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.105e-05/0.6473, allocations: 35.22 kB / 0.603 GB, free: 2.484 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.877e-05/0.6474, allocations: 53.36 kB / 0.603 GB, free: 2.43 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.511e-05/0.6474, allocations: 47.08 kB / 0.6031 GB, free: 2.387 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.6474, allocations: 0 / 0.6031 GB, free: 2.387 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002245/0.6477, allocations: 138.9 kB / 0.6032 GB, free: 2.258 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.6477, allocations: 5.875 kB / 0.6032 GB, free: 2.254 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.6477, allocations: 0 / 0.6032 GB, free: 2.254 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.6477, allocations: 4 kB / 0.6032 GB, free: 2.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002932/0.648, allocations: 43.95 kB / 0.6032 GB, free: 2.207 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008392/0.6489, allocations: 1.228 MB / 0.6044 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.649, allocations: 8.031 kB / 0.6044 GB, free: 0.9375 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.649, allocations: 7.984 kB / 0.6045 GB, free: 0.9297 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001082/0.6491, allocations: 108.4 kB / 0.6046 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001924/0.6493, allocations: 116.7 kB / 0.6047 GB, free: 0.707 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.082e-05/0.6494, allocations: 11.81 kB / 0.6047 GB, free: 0.6953 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002757/0.6497, allocations: 148.5 kB / 0.6048 GB, free: 0.5547 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.6497, allocations: 0 / 0.6048 GB, free: 0.5547 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/0.6497, allocations: 4 kB / 0.6048 GB, free: 0.5508 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.6497, allocations: 7.922 kB / 0.6048 GB, free: 0.543 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002285/0.6499, allocations: 191.2 kB / 0.605 GB, free: 340 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.6499, allocations: 3.984 kB / 0.605 GB, free: 336 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002367/0.6502, allocations: 43.97 kB / 0.6051 GB, free: 292 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.999e-06/0.6502, allocations: 7.953 kB / 0.6051 GB, free: 284 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.6502, allocations: 0 / 0.6051 GB, free: 284 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007552/0.651, allocations: 1.228 MB / 0.6063 GB, free: 15.02 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/0.651, allocations: 7.984 kB / 0.6063 GB, free: 15.01 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002291/0.6512, allocations: 209.9 kB / 0.6065 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.656e-05/0.6513, allocations: 89 kB / 0.6066 GB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.182e-05/0.6514, allocations: 0 / 0.6066 GB, free: 14.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.6515, allocations: 4 kB / 0.6066 GB, free: 14.69 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.782e-05/0.6515, allocations: 11.23 kB / 0.6066 GB, free: 14.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.6516, allocations: 12.02 kB / 0.6066 GB, free: 14.67 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.907e-05/0.6516, allocations: 101.8 kB / 0.6067 GB, free: 14.58 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6516, allocations: 0 / 0.6067 GB, free: 14.58 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003334/0.652, allocations: 58.77 kB / 0.6067 GB, free: 14.52 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 (9): * 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): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007278/0.6527, allocations: 0.7886 MB / 0.6075 GB, free: 13.72 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003236/0.653, allocations: 111.2 kB / 0.6076 GB, free: 13.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.6531, allocations: 0 / 0.6076 GB, free: 13.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001949/0.6533, allocations: 66.45 kB / 0.6077 GB, free: 13.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000211/0.6535, allocations: 15.81 kB / 0.6077 GB, free: 13.55 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007087/0.6542, allocations: 260.1 kB / 0.6079 GB, free: 13.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003495/0.6546, allocations: 0.7312 MB / 0.6087 GB, free: 12.52 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.514e-05/0.6547, allocations: 32.38 kB / 0.6087 GB, free: 12.49 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.173e-05/0.6547, allocations: 36.55 kB / 0.6087 GB, free: 12.47 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.6547, allocations: 0 / 0.6087 GB, free: 12.47 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02469/0.6794, allocations: 2.93 MB / 0.6116 GB, free: 9.574 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002204/0.6797, allocations: 196.8 kB / 0.6118 GB, free: 9.379 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.707/2.387, allocations: 0 / 0.6118 GB, free: 9.379 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC_res.mat does not exist to compare? outputFormat=mat