Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_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.Channel.kc_evenGapLaminar_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_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.001157/0.001157, allocations: 202.1 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.499/1.499, allocations: 225.6 MB / 234.8 MB, free: 3.273 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009353/0.0009354, allocations: 100.3 kB / 286.7 MB, free: 5.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2512/0.2512, allocations: 45.15 MB / 383.8 MB, free: 292 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.815e-05/1.817e-05, allocations: 0 / 453.3 MB, free: 75.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1453, allocations: 63.25 MB / 0.5045 GB, free: 12.51 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5333/0.6786, allocations: 94.87 MB / 0.5971 GB, free: 7.406 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002505/0.6789, allocations: 94.06 kB / 0.5972 GB, free: 7.352 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03645/0.7154, allocations: 14.39 MB / 0.6113 GB, free: 11.19 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.7154, allocations: 0 / 0.6113 GB, free: 11.19 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.575e-05/0.7154, allocations: 8 kB / 0.6113 GB, free: 11.18 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.00096/0.7164, allocations: 0.6365 MB / 0.6119 GB, free: 10.53 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.7165, allocations: 8.031 kB / 0.6119 GB, free: 10.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.491e-05/0.7166, allocations: 51.34 kB / 0.612 GB, free: 10.47 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003802/0.7169, allocations: 310.6 kB / 0.6123 GB, free: 10.13 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.717, allocations: 16 kB / 0.6123 GB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.391e-05/0.717, allocations: 28 kB / 0.6123 GB, free: 10.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007776/0.7178, allocations: 0.6255 MB / 0.6129 GB, free: 9.641 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008391/0.7187, allocations: 0.5967 MB / 0.6135 GB, free: 9.156 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.7187, allocations: 0 / 0.6135 GB, free: 9.156 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.264e-05/0.7187, allocations: 0 / 0.6135 GB, free: 9.156 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.415e-05/0.7188, allocations: 37.3 kB / 0.6135 GB, free: 9.121 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002095/0.7209, allocations: 1.296 MB / 0.6148 GB, free: 7.957 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007895/0.7217, allocations: 0.5119 MB / 0.6153 GB, free: 7.492 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002538/0.722, allocations: 162.5 kB / 0.6154 GB, free: 7.352 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.409e-05/0.722, allocations: 17.09 kB / 0.6155 GB, free: 7.336 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.7221, allocations: 41.31 kB / 0.6155 GB, free: 7.289 MB / 410.7 MB Notification: Performance of pre-optimization done (n=37): time 1.463e-06/0.7221, allocations: 0 / 0.6155 GB, free: 7.289 MB / 410.7 MB Notification: Performance of matching and sorting (n=37): time 0.0006939/0.7228, allocations: 400.2 kB / 0.6159 GB, free: 6.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.7228, allocations: 59.39 kB / 0.6159 GB, free: 6.859 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/0.723, allocations: 173.8 kB / 0.6161 GB, free: 6.695 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.801e-05/0.723, allocations: 25.7 kB / 0.6161 GB, free: 6.664 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.7232, allocations: 239.6 kB / 0.6164 GB, free: 6.453 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/0.7233, allocations: 123.6 kB / 0.6165 GB, free: 6.344 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.991e-05/0.7233, allocations: 0 / 0.6165 GB, free: 6.344 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.7235, allocations: 335.2 kB / 0.6168 GB, free: 6.016 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000235/0.7237, allocations: 159 kB / 0.6169 GB, free: 5.879 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003355/0.724, allocations: 258.1 kB / 0.6172 GB, free: 5.613 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003011/0.7243, allocations: 212.6 kB / 0.6174 GB, free: 5.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.7244, allocations: 0 / 0.6174 GB, free: 5.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.000705/0.7251, allocations: 478.3 kB / 0.6179 GB, free: 5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.7251, allocations: 4 kB / 0.6179 GB, free: 4.996 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.7251, allocations: 7.938 kB / 0.6179 GB, free: 4.988 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.7251, allocations: 7.938 kB / 0.6179 GB, free: 4.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009996/0.7261, allocations: 210.7 kB / 0.6181 GB, free: 4.777 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004139/0.7303, allocations: 7.351 MB / 0.6253 GB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002737/0.7306, allocations: 23.83 kB / 0.6253 GB, free: 13.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.224e-05/0.7306, allocations: 23.86 kB / 0.6253 GB, free: 13.19 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 (49): * Single equations (assignments): 37 * 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.0001624/0.7308, allocations: 132.7 kB / 0.6254 GB, free: 13.05 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006214/0.7314, allocations: 405.5 kB / 0.6258 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.415e-05/0.7315, allocations: 27.81 kB / 0.6258 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009694/0.7325, allocations: 0.5363 MB / 0.6264 GB, free: 12.18 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.7325, allocations: 4 kB / 0.6264 GB, free: 12.17 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.7325, allocations: 0 / 0.6264 GB, free: 12.17 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.619e-06/0.7325, allocations: 3.984 kB / 0.6264 GB, free: 12.17 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005777/0.7331, allocations: 410.1 kB / 0.6268 GB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.7331, allocations: 0 / 0.6268 GB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008848/0.734, allocations: 203.1 kB / 0.627 GB, free: 11.58 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-05/0.734, allocations: 4 kB / 0.627 GB, free: 11.57 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.066e-05/0.7341, allocations: 11.92 kB / 0.627 GB, free: 11.56 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004267/0.7383, allocations: 7.335 MB / 0.6341 GB, free: 4.031 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.7384, allocations: 4.094 kB / 0.6341 GB, free: 4.027 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006861/0.739, allocations: 0.5037 MB / 0.6346 GB, free: 3.551 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.965e-05/0.7391, allocations: 100.8 kB / 0.6347 GB, free: 3.434 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.691e-05/0.7392, allocations: 0 / 0.6347 GB, free: 3.434 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002124/0.7394, allocations: 11.98 kB / 0.6347 GB, free: 3.422 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.273e-05/0.7395, allocations: 31.14 kB / 0.6348 GB, free: 3.395 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.317e-05/0.7395, allocations: 19.23 kB / 0.6348 GB, free: 3.379 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001247/0.7397, allocations: 131.7 kB / 0.6349 GB, free: 3.266 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7397, allocations: 0 / 0.6349 GB, free: 3.266 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006647/0.7404, allocations: 155.4 kB / 0.6351 GB, free: 3.113 MB / 426.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 (37): * Single equations (assignments): 25 * 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.001239/0.7416, allocations: 1.135 MB / 0.6362 GB, free: 2 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001296/0.7429, allocations: 0.498 MB / 0.6367 GB, free: 1.547 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.7429, allocations: 3.938 kB / 0.6367 GB, free: 1.543 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008982/0.7438, allocations: 309.3 kB / 0.6369 GB, free: 1.262 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002618/0.7441, allocations: 19.67 kB / 0.637 GB, free: 1.246 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00166/0.7458, allocations: 0.7994 MB / 0.6377 GB, free: 456 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005361/0.7463, allocations: 0.914 MB / 0.6386 GB, free: 15.52 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002498/0.7466, allocations: 105.9 kB / 0.6387 GB, free: 15.41 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001756/0.7468, allocations: 130.8 kB / 0.6389 GB, free: 15.38 MB / 442.7 MB Notification: Performance of SimCode: time 5.21e-07/0.7468, allocations: 0 / 0.6389 GB, free: 15.38 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0334/0.7802, allocations: 8.133 MB / 0.6468 GB, free: 7.285 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002003/0.7804, allocations: 183.5 kB / 0.647 GB, free: 7.098 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.147/2.928, allocations: 0 / 0.647 GB, free: 7.098 MB / 442.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC_res.mat does not exist to compare? outputFormat=mat