Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00216/0.00216, allocations: 174.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 221.5 MB / 230.7 MB, free: 7.516 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008977/0.0008976, allocations: 93.97 kB / 281.6 MB, free: 5.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2576/0.2576, allocations: 44.16 MB / 376.5 MB, free: 3.031 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.947e-05/1.961e-05, allocations: 4.219 kB / 444.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1674/0.1675, allocations: 61.91 MB / 0.4948 GB, free: 1.148 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5152/0.6827, allocations: 93.68 MB / 0.5863 GB, free: 2.75 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000396/0.6832, allocations: 99.92 kB / 0.5864 GB, free: 2.652 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03893/0.7222, allocations: 14.6 MB / 0.6006 GB, free: 3.848 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.7223, allocations: 0 / 0.6006 GB, free: 3.848 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.71e-05/0.7223, allocations: 12 kB / 0.6006 GB, free: 3.836 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.000868/0.7232, allocations: 0.6117 MB / 0.6012 GB, free: 3.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/0.7233, allocations: 11.98 kB / 0.6012 GB, free: 3.168 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.38e-05/0.7234, allocations: 47.44 kB / 0.6013 GB, free: 3.121 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003933/0.7238, allocations: 295.3 kB / 0.6016 GB, free: 2.793 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/0.7238, allocations: 16 kB / 0.6016 GB, free: 2.777 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.929e-05/0.7239, allocations: 31.95 kB / 0.6016 GB, free: 2.746 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006253/0.7245, allocations: 426.3 kB / 0.602 GB, free: 2.328 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008182/0.7253, allocations: 0.5504 MB / 0.6026 GB, free: 1.77 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.7254, allocations: 7.984 kB / 0.6026 GB, free: 1.762 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.583e-05/0.7254, allocations: 0 / 0.6026 GB, free: 1.762 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.103e-05/0.7254, allocations: 33.3 kB / 0.6026 GB, free: 1.73 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002212/0.7277, allocations: 1.253 MB / 0.6038 GB, free: 444 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008288/0.7285, allocations: 438.1 kB / 0.6042 GB, free: 15.99 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002147/0.7287, allocations: 136.7 kB / 0.6044 GB, free: 15.86 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.303e-05/0.7288, allocations: 23.88 kB / 0.6044 GB, free: 15.84 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.7288, allocations: 30.56 kB / 0.6044 GB, free: 15.8 MB / 426.7 MB Notification: Performance of pre-optimization done (n=25): time 1.813e-06/0.7288, allocations: 0 / 0.6044 GB, free: 15.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.0006403/0.7295, allocations: 337.6 kB / 0.6047 GB, free: 15.46 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.7295, allocations: 51.41 kB / 0.6048 GB, free: 15.4 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002095/0.7298, allocations: 189.7 kB / 0.605 GB, free: 15.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.174e-05/0.7298, allocations: 25.7 kB / 0.605 GB, free: 15.17 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001536/0.73, allocations: 247.4 kB / 0.6052 GB, free: 14.92 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.011e-05/0.73, allocations: 82.81 kB / 0.6053 GB, free: 14.84 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.064e-05/0.7301, allocations: 0 / 0.6053 GB, free: 14.84 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.7302, allocations: 330.8 kB / 0.6056 GB, free: 14.51 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002267/0.7305, allocations: 156 kB / 0.6058 GB, free: 14.36 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003195/0.7308, allocations: 240.3 kB / 0.606 GB, free: 14.08 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000288/0.7311, allocations: 185.2 kB / 0.6062 GB, free: 13.9 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.7311, allocations: 3.938 kB / 0.6062 GB, free: 13.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006982/0.7318, allocations: 456.2 kB / 0.6066 GB, free: 13.45 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.7318, allocations: 5.25 kB / 0.6066 GB, free: 13.44 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-05/0.7319, allocations: 43.95 kB / 0.6067 GB, free: 13.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.7319, allocations: 4 kB / 0.6067 GB, free: 13.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001876/0.7321, allocations: 36.33 kB / 0.6067 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.648e-05/0.7322, allocations: 15.92 kB / 0.6067 GB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002047/0.7324, allocations: 19.78 kB / 0.6067 GB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.551e-05/0.7324, allocations: 23.98 kB / 0.6068 GB, free: 13.3 MB / 426.7 MB Warning: Assuming fixed start value for the following 1 variables: dimlesslength:VARIABLE(start = 0.01 unit = "m" ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (41): * Single equations (assignments): 29 * 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.0001877/0.7326, allocations: 116.9 kB / 0.6069 GB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000534/0.7332, allocations: 333.2 kB / 0.6072 GB, free: 12.85 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.081e-05/0.7332, allocations: 19.8 kB / 0.6072 GB, free: 12.83 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000924/0.7342, allocations: 0.5106 MB / 0.6077 GB, free: 12.32 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/0.7342, allocations: 4 kB / 0.6077 GB, free: 12.31 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.7342, allocations: 0 / 0.6077 GB, free: 12.31 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.7342, allocations: 3.984 kB / 0.6077 GB, free: 12.31 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005715/0.7348, allocations: 381.8 kB / 0.6081 GB, free: 11.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-05/0.7349, allocations: 39.95 kB / 0.6081 GB, free: 11.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001582/0.735, allocations: 24 kB / 0.6081 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.735, allocations: 4 kB / 0.6082 GB, free: 11.83 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.838e-05/0.7351, allocations: 11.98 kB / 0.6082 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/0.7351, allocations: 4 kB / 0.6082 GB, free: 11.82 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.7351, allocations: 11.88 kB / 0.6082 GB, free: 11.8 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009765/0.7361, allocations: 0.6575 MB / 0.6088 GB, free: 11.13 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.84e-05/0.7362, allocations: 100.8 kB / 0.6089 GB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.094e-05/0.7363, allocations: 0 / 0.6089 GB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.7364, allocations: 3.984 kB / 0.6089 GB, free: 11.01 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.679e-05/0.7365, allocations: 23.97 kB / 0.6089 GB, free: 10.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.189e-05/0.7365, allocations: 16.06 kB / 0.609 GB, free: 10.97 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001338/0.7367, allocations: 148.3 kB / 0.6091 GB, free: 10.83 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.7367, allocations: 0 / 0.6091 GB, free: 10.83 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006883/0.7374, allocations: 163.5 kB / 0.6093 GB, free: 10.67 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (dimlesslength) * 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: 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.001626/0.739, allocations: 1.322 MB / 0.6105 GB, free: 9.316 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008473/0.7399, allocations: 0.6484 MB / 0.6112 GB, free: 8.594 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.7399, allocations: 0.8125 kB / 0.6112 GB, free: 8.594 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004711/0.7403, allocations: 476.2 kB / 0.6116 GB, free: 8.055 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002816/0.7406, allocations: 24.17 kB / 0.6117 GB, free: 8.027 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00204/0.7427, allocations: 0.8773 MB / 0.6125 GB, free: 7.109 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005302/0.7432, allocations: 0.8924 MB / 0.6134 GB, free: 6.188 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001895/0.7434, allocations: 73.98 kB / 0.6135 GB, free: 6.117 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001805/0.7436, allocations: 123.4 kB / 0.6136 GB, free: 5.996 MB / 426.7 MB Notification: Performance of SimCode: time 2.5e-07/0.7436, allocations: 0 / 0.6136 GB, free: 5.996 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02881/0.7724, allocations: 7.569 MB / 0.621 GB, free: 14.44 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002631/0.7728, allocations: 187.1 kB / 0.6211 GB, free: 14.25 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.866/2.639, allocations: 1.828 kB / 0.6211 GB, free: 14.25 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_res.mat does not exist to compare? outputFormat=mat