Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.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_evenGapOverall,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001544/0.001544, allocations: 198.6 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.35/1.35, allocations: 227.2 MB / 245 MB, free: 7.633 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001057/0.001057, allocations: 108.6 kB / 297.3 MB, free: 6.184 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4473/0.4473, allocations: 45.23 MB / 394.7 MB, free: 31.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003036/0.0003035, allocations: 8.219 kB / 468.5 MB, free: 7.613 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.38/0.3803, allocations: 63.24 MB / 0.5193 GB, free: 43.98 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.132/0.5124, allocations: 100.5 MB / 0.6174 GB, free: 5.102 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003362/0.5128, allocations: 101.2 kB / 0.6175 GB, free: 5.008 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0568/0.5696, allocations: 21.92 MB / 0.6389 GB, free: 14.93 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.5696, allocations: 0 / 0.6389 GB, free: 14.93 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.064e-05/0.5697, allocations: 8 kB / 0.6389 GB, free: 14.92 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001108/0.5708, allocations: 0.7483 MB / 0.6397 GB, free: 14.12 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.5708, allocations: 8.031 kB / 0.6397 GB, free: 14.12 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001126/0.5709, allocations: 94.52 kB / 0.6398 GB, free: 14.02 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003961/0.5714, allocations: 103.3 kB / 0.6399 GB, free: 13.91 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004047/0.5718, allocations: 302.3 kB / 0.6401 GB, free: 13.58 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.086e-05/0.5718, allocations: 37 kB / 0.6402 GB, free: 13.54 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.116e-05/0.5719, allocations: 48 kB / 0.6402 GB, free: 13.5 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/0.573, allocations: 0.7 MB / 0.6409 GB, free: 12.78 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.573, allocations: 4 kB / 0.6409 GB, free: 12.78 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.1e-05/0.573, allocations: 20 kB / 0.6409 GB, free: 12.76 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.608e-05/0.5731, allocations: 21 kB / 0.641 GB, free: 12.73 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009381/0.574, allocations: 0.531 MB / 0.6415 GB, free: 12.2 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002089/0.5761, allocations: 1.523 MB / 0.643 GB, free: 10.62 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006212/0.5768, allocations: 331.7 kB / 0.6433 GB, free: 10.26 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.667e-05/0.5768, allocations: 15.94 kB / 0.6433 GB, free: 10.25 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.5768, allocations: 46.47 kB / 0.6433 GB, free: 10.19 MB / 458.7 MB Notification: Performance of pre-optimization done (n=23): time 2.244e-06/0.5769, allocations: 0 / 0.6433 GB, free: 10.19 MB / 458.7 MB Notification: Performance of matching and sorting (n=23): time 0.00148/0.5783, allocations: 1.011 MB / 0.6443 GB, free: 9.07 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.893e-05/0.5784, allocations: 110.8 kB / 0.6444 GB, free: 8.938 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005585/0.579, allocations: 0.501 MB / 0.6449 GB, free: 8.43 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.939e-05/0.579, allocations: 37.7 kB / 0.645 GB, free: 8.387 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001692/0.5792, allocations: 228.3 kB / 0.6452 GB, free: 8.16 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.666e-05/0.5793, allocations: 78.89 kB / 0.6452 GB, free: 8.082 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.037e-05/0.5793, allocations: 8 kB / 0.6453 GB, free: 8.074 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.5794, allocations: 354.8 kB / 0.6456 GB, free: 7.719 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003565/0.5798, allocations: 163.8 kB / 0.6457 GB, free: 7.559 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004009/0.5802, allocations: 268 kB / 0.646 GB, free: 7.254 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004/0.5806, allocations: 195.6 kB / 0.6462 GB, free: 7.066 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.5806, allocations: 0 / 0.6462 GB, free: 7.066 MB / 458.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009761/0.5816, allocations: 0.5008 MB / 0.6467 GB, free: 6.559 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.5817, allocations: 15.89 kB / 0.6467 GB, free: 6.543 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.242e-05/0.5817, allocations: 35.97 kB / 0.6467 GB, free: 6.508 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.5818, allocations: 8 kB / 0.6467 GB, free: 6.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000221/0.582, allocations: 31.97 kB / 0.6468 GB, free: 6.469 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.54e-05/0.582, allocations: 15.92 kB / 0.6468 GB, free: 6.453 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003568/0.5824, allocations: 75.39 kB / 0.6469 GB, free: 6.379 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.057e-05/0.5824, allocations: 19.98 kB / 0.6469 GB, free: 6.359 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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 0.0002396/0.5827, allocations: 210.2 kB / 0.6471 GB, free: 6.145 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.5828, allocations: 47.42 kB / 0.6471 GB, free: 6.098 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009354/0.5837, allocations: 489 kB / 0.6476 GB, free: 5.613 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.988e-06/0.5838, allocations: 4 kB / 0.6476 GB, free: 5.609 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.5838, allocations: 0 / 0.6476 GB, free: 5.609 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.5838, allocations: 3.984 kB / 0.6476 GB, free: 5.605 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006515/0.5844, allocations: 401.2 kB / 0.648 GB, free: 5.164 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.732e-05/0.5845, allocations: 51.89 kB / 0.648 GB, free: 5.113 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001791/0.5847, allocations: 31.97 kB / 0.6481 GB, free: 5.082 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.5847, allocations: 0 / 0.6481 GB, free: 5.082 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.846e-05/0.5848, allocations: 8 kB / 0.6481 GB, free: 5.074 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.5848, allocations: 7.953 kB / 0.6481 GB, free: 5.066 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/0.5848, allocations: 3.984 kB / 0.6481 GB, free: 5.062 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009438/0.5857, allocations: 0.666 MB / 0.6487 GB, free: 4.367 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001368/0.5859, allocations: 136.4 kB / 0.6489 GB, free: 4.215 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.048e-05/0.5859, allocations: 0 / 0.6489 GB, free: 4.215 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003251/0.5863, allocations: 35.97 kB / 0.6489 GB, free: 4.18 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.081e-05/0.5864, allocations: 31.91 kB / 0.6489 GB, free: 4.148 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.658e-05/0.5864, allocations: 8 kB / 0.6489 GB, free: 4.141 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0004499/0.5869, allocations: 410.8 kB / 0.6493 GB, free: 3.742 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5869, allocations: 0 / 0.6493 GB, free: 3.742 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0007837/0.5877, allocations: 199.8 kB / 0.6495 GB, free: 3.547 MB / 458.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.001906/0.5896, allocations: 1.56 MB / 0.651 GB, free: 1.961 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001032/0.5906, allocations: 0.6796 MB / 0.6517 GB, free: 1.207 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.5906, allocations: 0 / 0.6517 GB, free: 1.207 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005619/0.5912, allocations: 0.4954 MB / 0.6522 GB, free: 0.6406 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005139/0.5917, allocations: 89.97 kB / 0.6523 GB, free: 0.5508 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006346/0.5981, allocations: 5.388 MB / 0.6575 GB, free: 11.04 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005528/0.5987, allocations: 0.8938 MB / 0.6584 GB, free: 10.12 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002278/0.5989, allocations: 75.34 kB / 0.6585 GB, free: 10.04 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001834/0.5991, allocations: 131.4 kB / 0.6586 GB, free: 9.914 MB / 474.7 MB Notification: Performance of SimCode: time 8.42e-07/0.5991, allocations: 4 kB / 0.6586 GB, free: 9.91 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02831/0.6274, allocations: 13.7 MB / 0.672 GB, free: 12.43 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000177/0.6276, allocations: 221.8 kB / 0.6722 GB, free: 12.2 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.454/3.082, allocations: 0 / 0.6722 GB, free: 12.2 MB / 490.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_res.mat does not exist to compare? outputFormat=mat