Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.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_evenGapLaminar,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.001114/0.001114, 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.289/1.289, allocations: 225.4 MB / 240.1 MB, free: 15.06 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009134/0.0009134, allocations: 83.27 kB / 292.1 MB, free: 5.957 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1918/0.1918, allocations: 45.14 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.096e-05/4.109e-05, allocations: 0 / 460.5 MB, free: 69.88 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1158, allocations: 63.25 MB / 0.5115 GB, free: 6.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4192/0.5351, allocations: 95.41 MB / 0.6047 GB, free: 14.39 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000258/0.5354, allocations: 94.98 kB / 0.6047 GB, free: 14.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03556/0.571, allocations: 14.85 MB / 0.6192 GB, free: 1.391 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.571, allocations: 0 / 0.6192 GB, free: 1.391 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.325e-05/0.571, allocations: 15.25 kB / 0.6193 GB, free: 1.379 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.0008138/0.5719, allocations: 0.6144 MB / 0.6199 GB, free: 0.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.5719, allocations: 12.03 kB / 0.6199 GB, free: 0.7383 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001028/0.572, allocations: 93.33 kB / 0.62 GB, free: 0.668 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.5721, allocations: 51.44 kB / 0.62 GB, free: 0.6172 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004386/0.5726, allocations: 292.6 kB / 0.6203 GB, free: 308 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.973e-05/0.5726, allocations: 38.31 kB / 0.6203 GB, free: 288 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.839e-05/0.5727, allocations: 51.48 kB / 0.6204 GB, free: 252 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009118/0.5736, allocations: 0.6257 MB / 0.621 GB, free: 15.76 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.5736, allocations: 0 / 0.621 GB, free: 15.76 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.963e-05/0.5737, allocations: 25.69 kB / 0.621 GB, free: 15.75 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.807e-05/0.5737, allocations: 33.3 kB / 0.621 GB, free: 15.72 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006682/0.5744, allocations: 0.4979 MB / 0.6215 GB, free: 15.33 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00228/0.5767, allocations: 1.444 MB / 0.6229 GB, free: 14.03 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008241/0.5776, allocations: 451.5 kB / 0.6234 GB, free: 13.62 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002203/0.5778, allocations: 140.4 kB / 0.6235 GB, free: 13.5 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.127e-05/0.5778, allocations: 23.91 kB / 0.6235 GB, free: 13.48 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.5779, allocations: 38.19 kB / 0.6236 GB, free: 13.43 MB / 426.7 MB Notification: Performance of pre-optimization done (n=25): time 1.894e-06/0.5779, allocations: 0 / 0.6236 GB, free: 13.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.00067/0.5786, allocations: 366.7 kB / 0.6239 GB, free: 13.1 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/0.5786, allocations: 55.41 kB / 0.624 GB, free: 13.03 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005386/0.5792, allocations: 0.4931 MB / 0.6244 GB, free: 12.62 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.939e-05/0.5792, allocations: 25.7 kB / 0.6245 GB, free: 12.59 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/0.5793, allocations: 216.4 kB / 0.6247 GB, free: 12.45 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.948e-05/0.5794, allocations: 93.11 kB / 0.6248 GB, free: 12.37 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.945e-05/0.5794, allocations: 3.125 kB / 0.6248 GB, free: 12.37 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.5796, allocations: 370.3 kB / 0.6251 GB, free: 12.02 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002495/0.5799, allocations: 151.9 kB / 0.6253 GB, free: 11.88 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003055/0.5802, allocations: 247.2 kB / 0.6255 GB, free: 11.62 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003052/0.5805, allocations: 194.5 kB / 0.6257 GB, free: 11.46 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.5805, allocations: 3.938 kB / 0.6257 GB, free: 11.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007657/0.5813, allocations: 499.5 kB / 0.6262 GB, free: 11.01 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.5813, allocations: 8.984 kB / 0.6262 GB, free: 11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.949e-05/0.5814, allocations: 47.95 kB / 0.6262 GB, free: 10.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.5814, allocations: 4 kB / 0.6262 GB, free: 10.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001808/0.5816, allocations: 38.98 kB / 0.6263 GB, free: 10.92 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/0.5816, allocations: 11.92 kB / 0.6263 GB, free: 10.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002611/0.5819, allocations: 54.47 kB / 0.6263 GB, free: 10.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.064e-05/0.5819, allocations: 22.5 kB / 0.6263 GB, free: 10.84 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.0001467/0.5821, allocations: 129 kB / 0.6265 GB, free: 10.71 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.693e-05/0.5821, allocations: 39.53 kB / 0.6265 GB, free: 10.68 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009516/0.5831, allocations: 0.5449 MB / 0.627 GB, free: 10.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/0.5831, allocations: 8 kB / 0.627 GB, free: 10.19 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.5831, allocations: 0 / 0.627 GB, free: 10.19 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.5831, allocations: 3.938 kB / 0.627 GB, free: 10.18 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005329/0.5837, allocations: 428.4 kB / 0.6275 GB, free: 9.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-05/0.5837, allocations: 35.97 kB / 0.6275 GB, free: 9.734 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001563/0.5839, allocations: 31.98 kB / 0.6275 GB, free: 9.703 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.5839, allocations: 0 / 0.6275 GB, free: 9.703 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.525e-05/0.584, allocations: 15.48 kB / 0.6275 GB, free: 9.691 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.584, allocations: 3.953 kB / 0.6275 GB, free: 9.688 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.584, allocations: 0 / 0.6275 GB, free: 9.688 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009588/0.5849, allocations: 0.7004 MB / 0.6282 GB, free: 9.062 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/0.5851, allocations: 128.5 kB / 0.6283 GB, free: 8.918 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.81e-05/0.5851, allocations: 3.5 kB / 0.6283 GB, free: 8.918 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001869/0.5853, allocations: 15.62 kB / 0.6284 GB, free: 8.906 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.585e-05/0.5854, allocations: 27.17 kB / 0.6284 GB, free: 8.883 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.907e-05/0.5854, allocations: 15.98 kB / 0.6284 GB, free: 8.867 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003863/0.5858, allocations: 391.7 kB / 0.6288 GB, free: 8.562 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5858, allocations: 0 / 0.6288 GB, free: 8.562 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000504/0.5863, allocations: 161.4 kB / 0.6289 GB, free: 8.418 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.001475/0.5878, allocations: 1.36 MB / 0.6303 GB, free: 7.125 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007229/0.5886, allocations: 0.6648 MB / 0.6309 GB, free: 6.426 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.5886, allocations: 0 / 0.6309 GB, free: 6.426 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003808/0.589, allocations: 485.1 kB / 0.6314 GB, free: 5.898 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003721/0.5893, allocations: 82.19 kB / 0.6315 GB, free: 5.844 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001811/0.5912, allocations: 0.9707 MB / 0.6324 GB, free: 4.906 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004216/0.5916, allocations: 0.8884 MB / 0.6333 GB, free: 4 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002586/0.5919, allocations: 120.1 kB / 0.6334 GB, free: 3.879 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001562/0.592, allocations: 135.8 kB / 0.6335 GB, free: 3.836 MB / 426.7 MB Notification: Performance of SimCode: time 3.6e-07/0.592, allocations: 0 / 0.6335 GB, free: 3.836 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02601/0.618, allocations: 12.53 MB / 0.6457 GB, free: 7.539 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002323/0.6183, allocations: 196.9 kB / 0.6459 GB, free: 7.312 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.084/2.703, allocations: 1.125 kB / 0.6459 GB, free: 7.312 MB / 442.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_res.mat does not exist to compare? outputFormat=mat