Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.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.StraightPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_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.001083/0.001083, allocations: 197.2 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.358/1.358, allocations: 225.4 MB / 240.1 MB, free: 15.17 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008569/0.000857, allocations: 94.62 kB / 292.1 MB, free: 5.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1938/0.1938, allocations: 45.15 MB / 389.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.432e-05/3.451e-05, allocations: 4 kB / 460.5 MB, free: 69.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1095, allocations: 63.24 MB / 0.5115 GB, free: 6.68 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4222/0.5317, allocations: 95.52 MB / 0.6048 GB, free: 14.34 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002727/0.532, allocations: 95.38 kB / 0.6049 GB, free: 14.29 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03087/0.5629, allocations: 12.21 MB / 0.6168 GB, free: 3.691 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.563, allocations: 0 / 0.6168 GB, free: 3.691 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.614e-05/0.563, allocations: 8 kB / 0.6168 GB, free: 3.684 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.0007629/0.5638, allocations: 0.6088 MB / 0.6174 GB, free: 3.055 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.5638, allocations: 8.031 kB / 0.6174 GB, free: 3.047 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000101/0.5639, allocations: 101.5 kB / 0.6175 GB, free: 2.969 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.065e-05/0.564, allocations: 47.44 kB / 0.6175 GB, free: 2.922 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003212/0.5643, allocations: 292.1 kB / 0.6178 GB, free: 2.609 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.464e-05/0.5643, allocations: 35.12 kB / 0.6178 GB, free: 2.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.69e-05/0.5644, allocations: 45.8 kB / 0.6179 GB, free: 2.559 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007921/0.5652, allocations: 0.6187 MB / 0.6185 GB, free: 2.078 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.5652, allocations: 0 / 0.6185 GB, free: 2.078 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.695e-05/0.5653, allocations: 21.94 kB / 0.6185 GB, free: 2.07 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.325e-05/0.5653, allocations: 44.59 kB / 0.6185 GB, free: 2.027 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008034/0.5661, allocations: 0.6601 MB / 0.6192 GB, free: 1.527 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001828/0.568, allocations: 1.384 MB / 0.6205 GB, free: 292 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006148/0.5686, allocations: 425.1 kB / 0.6209 GB, free: 15.9 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001952/0.5688, allocations: 146.6 kB / 0.6211 GB, free: 15.78 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.523e-05/0.5689, allocations: 15.97 kB / 0.6211 GB, free: 15.77 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.254e-05/0.5689, allocations: 38.73 kB / 0.6211 GB, free: 15.72 MB / 426.7 MB Notification: Performance of pre-optimization done (n=28): time 1.473e-06/0.5689, allocations: 0 / 0.6211 GB, free: 15.72 MB / 426.7 MB Notification: Performance of matching and sorting (n=28): time 0.0006057/0.5695, allocations: 372.4 kB / 0.6215 GB, free: 15.38 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/0.5696, allocations: 55.41 kB / 0.6215 GB, free: 15.32 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004004/0.57, allocations: 435.2 kB / 0.622 GB, free: 14.96 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.57, allocations: 29.2 kB / 0.622 GB, free: 14.93 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.5701, allocations: 218.7 kB / 0.6222 GB, free: 14.77 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.831e-05/0.5702, allocations: 96.08 kB / 0.6223 GB, free: 14.68 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.759e-05/0.5702, allocations: 15.12 kB / 0.6223 GB, free: 14.68 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.5704, allocations: 350.7 kB / 0.6226 GB, free: 14.34 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000239/0.5706, allocations: 142.4 kB / 0.6228 GB, free: 14.21 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003235/0.5709, allocations: 229.8 kB / 0.623 GB, free: 13.97 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002961/0.5712, allocations: 177.4 kB / 0.6232 GB, free: 13.82 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.5713, allocations: 0 / 0.6232 GB, free: 13.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008088/0.5721, allocations: 462.8 kB / 0.6236 GB, free: 13.41 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.019e-05/0.5721, allocations: 8.375 kB / 0.6236 GB, free: 13.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.5721, allocations: 4 kB / 0.6236 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.725e-05/0.5722, allocations: 8 kB / 0.6236 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001048/0.5732, allocations: 194.7 kB / 0.6238 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003832/0.5771, allocations: 7.301 MB / 0.6309 GB, free: 5.695 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002944/0.5774, allocations: 54.38 kB / 0.631 GB, free: 5.648 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.522e-05/0.5774, allocations: 23.92 kB / 0.631 GB, free: 5.629 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,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 (40): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001232/0.5775, allocations: 128.5 kB / 0.6311 GB, free: 5.504 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.824e-05/0.5776, allocations: 42.98 kB / 0.6312 GB, free: 5.465 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008129/0.5784, allocations: 0.5045 MB / 0.6317 GB, free: 5.012 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.5785, allocations: 7.953 kB / 0.6317 GB, free: 5.004 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.5785, allocations: 0 / 0.6317 GB, free: 5.004 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.5785, allocations: 3.984 kB / 0.6317 GB, free: 5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004458/0.5789, allocations: 407.3 kB / 0.6321 GB, free: 4.602 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.5789, allocations: 0 / 0.6321 GB, free: 4.602 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000876/0.5798, allocations: 191.6 kB / 0.6323 GB, free: 4.418 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.5798, allocations: 0 / 0.6323 GB, free: 4.418 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.57e-05/0.5799, allocations: 15.73 kB / 0.6323 GB, free: 4.406 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003141/0.583, allocations: 7.292 MB / 0.6394 GB, free: 12.91 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.583, allocations: 3.938 kB / 0.6394 GB, free: 12.91 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005482/0.5836, allocations: 478.6 kB / 0.6399 GB, free: 12.46 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.5837, allocations: 120.6 kB / 0.64 GB, free: 12.32 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.109e-05/0.5838, allocations: 7.75 kB / 0.64 GB, free: 12.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002219/0.584, allocations: 11.14 kB / 0.64 GB, free: 12.31 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.03e-05/0.5841, allocations: 27.33 kB / 0.64 GB, free: 12.29 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.758e-05/0.5841, allocations: 19.55 kB / 0.64 GB, free: 12.27 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003086/0.5844, allocations: 340.6 kB / 0.6404 GB, free: 12.01 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5844, allocations: 0 / 0.6404 GB, free: 12.01 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000464/0.5849, allocations: 144.7 kB / 0.6405 GB, free: 11.88 MB / 442.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 (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009629/0.5859, allocations: 1.086 MB / 0.6416 GB, free: 10.81 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001204/0.5871, allocations: 456.6 kB / 0.642 GB, free: 10.4 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.5871, allocations: 0.75 kB / 0.642 GB, free: 10.4 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008958/0.588, allocations: 287.9 kB / 0.6423 GB, free: 10.14 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004723/0.5885, allocations: 108.6 kB / 0.6424 GB, free: 10.05 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.5897, allocations: 0.782 MB / 0.6431 GB, free: 9.293 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000363/0.5901, allocations: 0.8838 MB / 0.644 GB, free: 8.391 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002817/0.5904, allocations: 143.9 kB / 0.6441 GB, free: 8.25 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001423/0.5905, allocations: 128.5 kB / 0.6443 GB, free: 8.207 MB / 442.7 MB Notification: Performance of SimCode: time 3.7e-07/0.5905, allocations: 0 / 0.6443 GB, free: 8.207 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02827/0.6188, allocations: 12.83 MB / 0.6568 GB, free: 11.66 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002282/0.6191, allocations: 226.4 kB / 0.657 GB, free: 11.43 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.203/2.822, allocations: 0 / 0.657 GB, free: 11.43 MB / 458.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC_res.mat does not exist to compare? outputFormat=mat