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.00156/0.00156, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.633/1.633, allocations: 225.6 MB / 234.8 MB, free: 3.277 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009232/0.0009235, allocations: 97.52 kB / 286.7 MB, free: 5.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2255/0.2255, allocations: 45.15 MB / 383.8 MB, free: 332 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.952e-05/1.948e-05, allocations: 0 / 453.3 MB, free: 75.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1459, allocations: 63.25 MB / 0.5045 GB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5228/0.6687, allocations: 94.74 MB / 0.597 GB, free: 7.785 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003019/0.6691, allocations: 92.05 kB / 0.5971 GB, free: 7.73 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03514/0.7043, allocations: 14.67 MB / 0.6114 GB, free: 11.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.7043, allocations: 0 / 0.6114 GB, free: 11.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.672e-05/0.7044, allocations: 12 kB / 0.6114 GB, free: 11.29 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.0008868/0.7053, allocations: 0.6126 MB / 0.612 GB, free: 10.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.7053, allocations: 12.03 kB / 0.612 GB, free: 10.64 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.305e-05/0.7054, allocations: 47.42 kB / 0.6121 GB, free: 10.6 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003865/0.7058, allocations: 298 kB / 0.6124 GB, free: 10.28 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/0.7058, allocations: 16 kB / 0.6124 GB, free: 10.26 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.704e-05/0.7059, allocations: 28 kB / 0.6124 GB, free: 10.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000597/0.7065, allocations: 433.8 kB / 0.6128 GB, free: 9.914 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008054/0.7073, allocations: 0.5478 MB / 0.6134 GB, free: 9.465 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.7074, allocations: 4 kB / 0.6134 GB, free: 9.461 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.709e-05/0.7074, allocations: 3.938 kB / 0.6134 GB, free: 9.457 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.048e-05/0.7075, allocations: 36.17 kB / 0.6134 GB, free: 9.426 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002372/0.7098, allocations: 1.25 MB / 0.6146 GB, free: 8.293 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007802/0.7106, allocations: 442.8 kB / 0.615 GB, free: 7.895 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002013/0.7108, allocations: 130.6 kB / 0.6152 GB, free: 7.777 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.084e-05/0.7109, allocations: 14.98 kB / 0.6152 GB, free: 7.766 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.747e-05/0.711, allocations: 34.55 kB / 0.6152 GB, free: 7.723 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 1.623e-06/0.711, allocations: 0 / 0.6152 GB, free: 7.723 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.0006262/0.7116, allocations: 343.5 kB / 0.6155 GB, free: 7.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/0.7116, allocations: 55.41 kB / 0.6156 GB, free: 7.344 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001956/0.7118, allocations: 196.5 kB / 0.6158 GB, free: 7.168 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.242e-05/0.7119, allocations: 25.7 kB / 0.6158 GB, free: 7.137 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/0.712, allocations: 238.2 kB / 0.616 GB, free: 6.922 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.208e-05/0.7121, allocations: 84.62 kB / 0.6161 GB, free: 6.848 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.164e-05/0.7121, allocations: 0 / 0.6161 GB, free: 6.848 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.7123, allocations: 333 kB / 0.6164 GB, free: 6.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002146/0.7125, allocations: 150.3 kB / 0.6166 GB, free: 6.391 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002966/0.7128, allocations: 241 kB / 0.6168 GB, free: 6.141 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002848/0.7131, allocations: 183.4 kB / 0.617 GB, free: 5.984 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.7131, allocations: 4 kB / 0.617 GB, free: 5.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007178/0.7139, allocations: 448.1 kB / 0.6174 GB, free: 5.578 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/0.7139, allocations: 8 kB / 0.6174 GB, free: 5.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.422e-05/0.714, allocations: 35.97 kB / 0.6174 GB, free: 5.535 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.499e-05/0.714, allocations: 12 kB / 0.6175 GB, free: 5.523 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001899/0.7142, allocations: 43.33 kB / 0.6175 GB, free: 5.484 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.7142, allocations: 15.94 kB / 0.6175 GB, free: 5.469 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001848/0.7144, allocations: 15.75 kB / 0.6175 GB, free: 5.453 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.71e-05/0.7145, allocations: 26.86 kB / 0.6176 GB, free: 5.43 MB / 410.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.000187/0.7147, allocations: 116.9 kB / 0.6177 GB, free: 5.309 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005374/0.7152, allocations: 340 kB / 0.618 GB, free: 5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.836e-05/0.7153, allocations: 19.8 kB / 0.618 GB, free: 4.98 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008813/0.7162, allocations: 0.4974 MB / 0.6185 GB, free: 4.535 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.7162, allocations: 8 kB / 0.6185 GB, free: 4.527 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.284e-05/0.7162, allocations: 3.938 kB / 0.6185 GB, free: 4.523 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.7162, allocations: 3.938 kB / 0.6185 GB, free: 4.52 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005552/0.7168, allocations: 382.8 kB / 0.6189 GB, free: 4.152 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.286e-05/0.7169, allocations: 31.97 kB / 0.6189 GB, free: 4.121 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001567/0.717, allocations: 31.92 kB / 0.6189 GB, free: 4.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.748e-06/0.717, allocations: 0 / 0.6189 GB, free: 4.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.068e-05/0.7171, allocations: 15.48 kB / 0.619 GB, free: 4.078 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.7171, allocations: 4 kB / 0.619 GB, free: 4.074 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.197e-06/0.7171, allocations: 3.953 kB / 0.619 GB, free: 4.07 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008967/0.718, allocations: 0.6496 MB / 0.6196 GB, free: 3.488 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.804e-05/0.7181, allocations: 96.89 kB / 0.6197 GB, free: 3.375 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.263e-05/0.7181, allocations: 0 / 0.6197 GB, free: 3.375 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.7183, allocations: 4 kB / 0.6197 GB, free: 3.371 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.157e-05/0.7183, allocations: 26.61 kB / 0.6197 GB, free: 3.348 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.686e-05/0.7184, allocations: 20.05 kB / 0.6197 GB, free: 3.328 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001069/0.7185, allocations: 138.7 kB / 0.6199 GB, free: 3.211 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7185, allocations: 0 / 0.6199 GB, free: 3.211 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006291/0.7191, allocations: 174.9 kB / 0.62 GB, free: 3.043 MB / 410.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.00153/0.7207, allocations: 1.316 MB / 0.6213 GB, free: 1.785 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007506/0.7214, allocations: 0.6479 MB / 0.622 GB, free: 1.102 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.7214, allocations: 1.062 kB / 0.622 GB, free: 1.102 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004313/0.7219, allocations: 482 kB / 0.6224 GB, free: 0.5781 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002463/0.7221, allocations: 24.23 kB / 0.6224 GB, free: 0.5547 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001895/0.724, allocations: 0.8806 MB / 0.6233 GB, free: 15.68 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005273/0.7246, allocations: 0.891 MB / 0.6242 GB, free: 14.77 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001838/0.7248, allocations: 73.98 kB / 0.6242 GB, free: 14.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001567/0.7249, allocations: 133.5 kB / 0.6244 GB, free: 14.66 MB / 426.7 MB Notification: Performance of SimCode: time 1.42e-05/0.725, allocations: 0 / 0.6244 GB, free: 14.66 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02947/0.7544, allocations: 7.563 MB / 0.6317 GB, free: 7.125 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002404/0.7547, allocations: 190.8 kB / 0.6319 GB, free: 6.93 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.975/2.729, allocations: 8 kB / 0.6319 GB, free: 6.922 MB / 426.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