Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001547/0.001552, allocations: 184.8 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.043/2.043, allocations: 205.4 MB / 222.5 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001114/0.001114, allocations: 88.42 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5191/0.5191, allocations: 43.55 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000501/0.0005011, allocations: 16 kB / 431.5 MB, free: 6.031 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1422, allocations: 58.84 MB / 490.3 MB, free: 11.11 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4918/0.6341, allocations: 97.67 MB / 0.5742 GB, free: 4.828 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004098/0.6346, allocations: 103.4 kB / 0.5743 GB, free: 4.73 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09719/0.7318, allocations: 20.31 MB / 0.5942 GB, free: 268 kB / 410.7 MB Notification: Performance of FrontEnd: time 3.136e-06/0.7319, allocations: 0 / 0.5942 GB, free: 268 kB / 410.7 MB Notification: Performance of Transformations before backend: time 2.116e-05/0.7319, allocations: 8 kB / 0.5942 GB, free: 260 kB / 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.001845/0.7337, allocations: 0.6861 MB / 0.5948 GB, free: 15.52 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.707e-05/0.7338, allocations: 12.03 kB / 0.5948 GB, free: 15.51 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002139/0.734, allocations: 102.5 kB / 0.5949 GB, free: 15.4 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001395/0.7342, allocations: 54.78 kB / 0.595 GB, free: 15.35 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006187/0.7348, allocations: 306.9 kB / 0.5953 GB, free: 15.01 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.989e-05/0.7349, allocations: 37.31 kB / 0.5953 GB, free: 14.97 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/0.735, allocations: 55.92 kB / 0.5954 GB, free: 14.92 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001796/0.7368, allocations: 0.6818 MB / 0.596 GB, free: 14.23 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.487e-05/0.7369, allocations: 0 / 0.596 GB, free: 14.23 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.35e-05/0.737, allocations: 24 kB / 0.5961 GB, free: 14.21 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.842e-05/0.7371, allocations: 45.28 kB / 0.5961 GB, free: 14.16 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002056/0.7392, allocations: 0.7516 MB / 0.5968 GB, free: 13.41 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003833/0.743, allocations: 1.457 MB / 0.5983 GB, free: 11.9 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001422/0.7445, allocations: 452.5 kB / 0.5987 GB, free: 11.45 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.445e-05/0.7446, allocations: 12.31 kB / 0.5987 GB, free: 11.44 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.42e-05/0.7447, allocations: 42.73 kB / 0.5987 GB, free: 11.39 MB / 426.7 MB Notification: Performance of pre-optimization done (n=28): time 2.815e-06/0.7447, allocations: 0 / 0.5987 GB, free: 11.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=28): time 0.001981/0.7467, allocations: 0.5435 MB / 0.5993 GB, free: 10.84 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.168e-05/0.7467, allocations: 55.41 kB / 0.5993 GB, free: 10.77 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009352/0.7477, allocations: 484.9 kB / 0.5998 GB, free: 10.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.585e-05/0.7478, allocations: 29.7 kB / 0.5998 GB, free: 10.27 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002485/0.748, allocations: 286.4 kB / 0.6001 GB, free: 9.98 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001467/0.7482, allocations: 106.6 kB / 0.6002 GB, free: 9.875 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.497e-05/0.7482, allocations: 8 kB / 0.6002 GB, free: 9.867 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.7484, allocations: 330.8 kB / 0.6005 GB, free: 9.535 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005862/0.749, allocations: 160.6 kB / 0.6007 GB, free: 9.375 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006991/0.7497, allocations: 293.4 kB / 0.601 GB, free: 9.031 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006945/0.7504, allocations: 224.7 kB / 0.6012 GB, free: 8.812 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.7504, allocations: 0 / 0.6012 GB, free: 8.812 MB / 426.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001643/0.7521, allocations: 0.5162 MB / 0.6017 GB, free: 8.289 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.903e-05/0.7522, allocations: 8.562 kB / 0.6017 GB, free: 8.281 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.7522, allocations: 8 kB / 0.6017 GB, free: 8.273 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.733e-05/0.7522, allocations: 8 kB / 0.6017 GB, free: 8.266 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001893/0.7541, allocations: 215.8 kB / 0.6019 GB, free: 8.055 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005601/0.7597, allocations: 7.314 MB / 0.609 GB, free: 472 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000692/0.7605, allocations: 67.28 kB / 0.6091 GB, free: 404 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.536e-05/0.7606, allocations: 19.98 kB / 0.6091 GB, free: 384 kB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (46): * Single equations (assignments): 34 * 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.0005089/0.7611, allocations: 253.4 kB / 0.6094 GB, free: 120 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.7612, allocations: 43.44 kB / 0.6094 GB, free: 76 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001994/0.7632, allocations: 0.5447 MB / 0.6099 GB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/0.7633, allocations: 4 kB / 0.6099 GB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/0.7633, allocations: 0 / 0.6099 GB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.7633, allocations: 0 / 0.6099 GB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009757/0.7643, allocations: 433.1 kB / 0.6104 GB, free: 15.04 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.7643, allocations: 0 / 0.6104 GB, free: 15.04 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001793/0.7661, allocations: 195.8 kB / 0.6105 GB, free: 14.85 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.618e-06/0.7662, allocations: 0 / 0.6105 GB, free: 14.85 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.243e-05/0.7662, allocations: 11.98 kB / 0.6106 GB, free: 14.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00671/0.773, allocations: 7.306 MB / 0.6177 GB, free: 7.254 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.773, allocations: 0 / 0.6177 GB, free: 7.254 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001496/0.7745, allocations: 0.5079 MB / 0.6182 GB, free: 6.73 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002189/0.7748, allocations: 136.3 kB / 0.6183 GB, free: 6.578 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/0.7749, allocations: 4 kB / 0.6183 GB, free: 6.574 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000558/0.7755, allocations: 19.98 kB / 0.6183 GB, free: 6.555 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001743/0.7757, allocations: 19.97 kB / 0.6184 GB, free: 6.535 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001/0.7758, allocations: 15.98 kB / 0.6184 GB, free: 6.52 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000927/0.7767, allocations: 383 kB / 0.6187 GB, free: 6.145 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.7767, allocations: 0 / 0.6187 GB, free: 6.145 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001264/0.778, allocations: 179.8 kB / 0.6189 GB, free: 5.969 MB / 442.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 () * Number of clocked 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: 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.003552/0.7816, allocations: 1.216 MB / 0.6201 GB, free: 4.727 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002983/0.7846, allocations: 0.5043 MB / 0.6206 GB, free: 4.223 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.7847, allocations: 4 kB / 0.6206 GB, free: 4.219 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00186/0.7866, allocations: 312.5 kB / 0.6209 GB, free: 3.914 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007215/0.7873, allocations: 81.86 kB / 0.621 GB, free: 3.836 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009264/0.7966, allocations: 5.967 MB / 0.6268 GB, free: 13.75 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006644/0.7973, allocations: 0.8974 MB / 0.6277 GB, free: 12.82 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000365/0.7977, allocations: 147.4 kB / 0.6278 GB, free: 12.68 MB / 458.7 MB Notification: Performance of SimCode: time 1.042e-06/0.7978, allocations: 0 / 0.6278 GB, free: 12.68 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.477/4.274, allocations: 31.63 MB / 0.6587 GB, free: 13.04 MB / 490.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC_res.mat does not exist to compare? outputFormat=mat