Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.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,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001246/0.001246, allocations: 196.1 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.259/1.259, 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.0009207/0.0009207, allocations: 89.17 kB / 292.1 MB, free: 5.934 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1991/0.1991, allocations: 45.15 MB / 389.3 MB, free: 11.84 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.873e-05/3.897e-05, allocations: 8 kB / 460.5 MB, free: 69.88 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1128, allocations: 63.24 MB / 0.5115 GB, free: 6.664 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4204/0.5332, allocations: 94.23 MB / 0.6035 GB, free: 15.63 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002529/0.5335, allocations: 93.31 kB / 0.6036 GB, free: 15.58 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02729/0.5608, allocations: 10.06 MB / 0.6134 GB, free: 6.918 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.5609, allocations: 0 / 0.6134 GB, free: 6.918 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.269e-05/0.5609, allocations: 4 kB / 0.6134 GB, free: 6.914 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.000848/0.5618, allocations: 0.5113 MB / 0.6139 GB, free: 6.371 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.5618, allocations: 12.02 kB / 0.6139 GB, free: 6.359 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.05e-05/0.5619, allocations: 56.98 kB / 0.614 GB, free: 6.305 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003513/0.5622, allocations: 67.98 kB / 0.6141 GB, free: 6.238 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003009/0.5626, allocations: 216.8 kB / 0.6143 GB, free: 5.992 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.5626, allocations: 11.12 kB / 0.6143 GB, free: 5.984 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.602e-05/0.5626, allocations: 18.61 kB / 0.6143 GB, free: 5.973 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003911/0.563, allocations: 263.1 kB / 0.6145 GB, free: 5.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.563, allocations: 0 / 0.6145 GB, free: 5.75 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.996e-05/0.5631, allocations: 3.562 kB / 0.6145 GB, free: 5.75 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.706e-05/0.5631, allocations: 8 kB / 0.6145 GB, free: 5.742 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002722/0.5634, allocations: 173.1 kB / 0.6147 GB, free: 5.613 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00102/0.5644, allocations: 0.7741 MB / 0.6155 GB, free: 4.855 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003897/0.5648, allocations: 204.2 kB / 0.6157 GB, free: 4.652 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/0.5649, allocations: 80.97 kB / 0.6157 GB, free: 4.574 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.034e-05/0.565, allocations: 4 kB / 0.6157 GB, free: 4.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.565, allocations: 38.17 kB / 0.6158 GB, free: 4.527 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.503e-06/0.565, allocations: 0 / 0.6158 GB, free: 4.527 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003898/0.5654, allocations: 175.4 kB / 0.6159 GB, free: 4.367 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.59e-05/0.5655, allocations: 114.8 kB / 0.6161 GB, free: 4.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002406/0.5657, allocations: 243.7 kB / 0.6163 GB, free: 4.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.5658, allocations: 25.7 kB / 0.6163 GB, free: 3.988 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.62e-05/0.5659, allocations: 144.1 kB / 0.6165 GB, free: 3.875 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.602e-05/0.5659, allocations: 49.73 kB / 0.6165 GB, free: 3.832 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.032e-05/0.5659, allocations: 0 / 0.6165 GB, free: 3.832 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.566, allocations: 332.2 kB / 0.6168 GB, free: 3.508 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.927e-05/0.5662, allocations: 55.22 kB / 0.6169 GB, free: 3.465 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.5663, allocations: 101.5 kB / 0.617 GB, free: 3.363 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.5664, allocations: 71.61 kB / 0.617 GB, free: 3.301 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.525e-06/0.5664, allocations: 0 / 0.617 GB, free: 3.301 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000323/0.5668, allocations: 214.1 kB / 0.6172 GB, free: 3.109 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.5668, allocations: 4 kB / 0.6172 GB, free: 3.105 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.459e-05/0.5668, allocations: 11.98 kB / 0.6173 GB, free: 3.094 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.5668, allocations: 4.188 kB / 0.6173 GB, free: 3.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001923/0.567, allocations: 35.97 kB / 0.6173 GB, free: 3.055 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.5671, allocations: 8.094 kB / 0.6173 GB, free: 3.047 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001859/0.5673, allocations: 39.75 kB / 0.6173 GB, free: 3.012 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.156e-05/0.5673, allocations: 8 kB / 0.6173 GB, free: 3.004 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.07e-05/0.5674, allocations: 112.7 kB / 0.6175 GB, free: 2.891 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.847e-05/0.5675, allocations: 35.45 kB / 0.6175 GB, free: 2.859 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003382/0.5678, allocations: 203.6 kB / 0.6177 GB, free: 2.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.5678, allocations: 4 kB / 0.6177 GB, free: 2.676 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.5678, allocations: 0 / 0.6177 GB, free: 2.676 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.5678, allocations: 7.984 kB / 0.6177 GB, free: 2.668 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003576/0.5682, allocations: 264.8 kB / 0.6179 GB, free: 2.387 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.64e-05/0.5682, allocations: 8 kB / 0.618 GB, free: 2.379 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001689/0.5684, allocations: 31.97 kB / 0.618 GB, free: 2.348 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.115e-06/0.5684, allocations: 11.94 kB / 0.618 GB, free: 2.336 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.5684, allocations: 7.438 kB / 0.618 GB, free: 2.332 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.5685, allocations: 4 kB / 0.618 GB, free: 2.328 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-06/0.5685, allocations: 0 / 0.618 GB, free: 2.328 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003874/0.5689, allocations: 455.8 kB / 0.6184 GB, free: 1.879 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.259e-05/0.5689, allocations: 96.83 kB / 0.6185 GB, free: 1.766 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.056e-05/0.569, allocations: 3.25 kB / 0.6185 GB, free: 1.766 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000244/0.5692, allocations: 23.97 kB / 0.6186 GB, free: 1.742 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.933e-05/0.5693, allocations: 14.8 kB / 0.6186 GB, free: 1.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/0.5693, allocations: 4 kB / 0.6186 GB, free: 1.727 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001643/0.5695, allocations: 198.7 kB / 0.6188 GB, free: 1.562 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5695, allocations: 4 kB / 0.6188 GB, free: 1.559 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004301/0.5699, allocations: 94.89 kB / 0.6189 GB, free: 1.473 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000916/0.5708, allocations: 1.198 MB / 0.62 GB, free: 272 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000325/0.5712, allocations: 217.7 kB / 0.6202 GB, free: 56 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.5712, allocations: 0 / 0.6202 GB, free: 56 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001734/0.5714, allocations: 154.4 kB / 0.6204 GB, free: 15.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003419/0.5717, allocations: 52.3 kB / 0.6204 GB, free: 15.86 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008609/0.5726, allocations: 405.6 kB / 0.6208 GB, free: 15.45 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003194/0.5729, allocations: 0.7632 MB / 0.6216 GB, free: 14.67 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001249/0.573, allocations: 41.5 kB / 0.6216 GB, free: 14.63 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.669e-05/0.5731, allocations: 65.91 kB / 0.6217 GB, free: 14.6 MB / 426.7 MB Notification: Performance of SimCode: time 1.764e-06/0.5732, allocations: 4 kB / 0.6217 GB, free: 14.6 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01752/0.5907, allocations: 6.048 MB / 0.6276 GB, free: 8.773 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002019/0.5909, allocations: 192.9 kB / 0.6278 GB, free: 8.555 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.762/2.353, allocations: 0 / 0.6278 GB, free: 8.555 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_res.mat does not exist to compare? outputFormat=mat