Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_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.General.kc_approxForcedConvection_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_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.002166/0.002165, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.352/2.352, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001077/0.001077, allocations: 85.92 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2977/0.2977, allocations: 43.49 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.572e-05/2.584e-05, allocations: 0 / 418.3 MB, free: 40.92 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4414/0.4414, allocations: 58.85 MB / 477.2 MB, free: 5.168 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1722/0.6137, allocations: 90.9 MB / 0.5548 GB, free: 8.289 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004062/0.6142, allocations: 103.2 kB / 0.5549 GB, free: 8.191 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.04811/0.6623, allocations: 9.956 MB / 0.5646 GB, free: 14.15 MB / 411.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.6624, allocations: 0 / 0.5646 GB, free: 14.15 MB / 411.1 MB Notification: Performance of Transformations before backend: time 2.226e-05/0.6624, allocations: 4 kB / 0.5646 GB, free: 14.14 MB / 411.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001042/0.6635, allocations: 0.4987 MB / 0.5651 GB, free: 13.6 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.558e-05/0.6635, allocations: 12.03 kB / 0.5651 GB, free: 13.59 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.879e-05/0.6637, allocations: 23.72 kB / 0.5651 GB, free: 13.56 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004254/0.6641, allocations: 247.1 kB / 0.5654 GB, free: 13.28 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.6641, allocations: 16 kB / 0.5654 GB, free: 13.26 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.263e-05/0.6642, allocations: 23.98 kB / 0.5654 GB, free: 13.24 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007911/0.665, allocations: 333.1 kB / 0.5657 GB, free: 12.91 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007718/0.6658, allocations: 328.9 kB / 0.566 GB, free: 12.59 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.6658, allocations: 0 / 0.566 GB, free: 12.59 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.538e-05/0.6659, allocations: 4 kB / 0.566 GB, free: 12.59 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.004e-05/0.666, allocations: 20.77 kB / 0.5661 GB, free: 12.56 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002237/0.6682, allocations: 0.7915 MB / 0.5668 GB, free: 11.73 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008198/0.6691, allocations: 310.6 kB / 0.5671 GB, free: 11.42 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002644/0.6694, allocations: 100.7 kB / 0.5672 GB, free: 11.32 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.869e-05/0.6694, allocations: 3.984 kB / 0.5672 GB, free: 11.32 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.6695, allocations: 42.56 kB / 0.5673 GB, free: 11.27 MB / 411.1 MB Notification: Performance of pre-optimization done (n=19): time 3.056e-06/0.6695, allocations: 3.938 kB / 0.5673 GB, free: 11.26 MB / 411.1 MB Notification: Performance of matching and sorting (n=19): time 0.0008072/0.6703, allocations: 248.7 kB / 0.5675 GB, free: 11.02 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.6704, allocations: 51.41 kB / 0.5676 GB, free: 10.95 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002199/0.6706, allocations: 154.5 kB / 0.5677 GB, free: 10.79 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 3.378e-05/0.6707, allocations: 25.7 kB / 0.5677 GB, free: 10.75 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/0.6708, allocations: 234.3 kB / 0.568 GB, free: 10.52 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.409e-05/0.6709, allocations: 67.2 kB / 0.568 GB, free: 10.46 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.024e-05/0.671, allocations: 3.938 kB / 0.568 GB, free: 10.45 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.6711, allocations: 318.8 kB / 0.5683 GB, free: 10.13 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002656/0.6714, allocations: 99.84 kB / 0.5684 GB, free: 10.04 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003083/0.6717, allocations: 140.8 kB / 0.5686 GB, free: 9.879 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003282/0.6721, allocations: 115.9 kB / 0.5687 GB, free: 9.766 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.6721, allocations: 4 kB / 0.5687 GB, free: 9.762 MB / 411.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008032/0.6729, allocations: 277.2 kB / 0.5689 GB, free: 9.484 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.6729, allocations: 7.953 kB / 0.5689 GB, free: 9.477 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.6729, allocations: 192 / 0.5689 GB, free: 9.477 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/0.673, allocations: 8 kB / 0.5689 GB, free: 9.469 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/0.6741, allocations: 119.8 kB / 0.5691 GB, free: 9.352 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003126/0.6773, allocations: 3.723 MB / 0.5727 GB, free: 5.488 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003547/0.6777, allocations: 23.86 kB / 0.5727 GB, free: 5.465 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.724e-05/0.6777, allocations: 8 kB / 0.5727 GB, free: 5.457 MB / 411.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].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 (25): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001696/0.6779, allocations: 116.4 kB / 0.5728 GB, free: 5.34 MB / 411.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007153/0.6787, allocations: 245.3 kB / 0.5731 GB, free: 5.094 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.136e-05/0.6787, allocations: 19.77 kB / 0.5731 GB, free: 5.074 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000985/0.6797, allocations: 343.1 kB / 0.5734 GB, free: 4.734 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.6798, allocations: 4 kB / 0.5734 GB, free: 4.73 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.6798, allocations: 3.953 kB / 0.5734 GB, free: 4.727 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.6798, allocations: 0 / 0.5734 GB, free: 4.727 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005862/0.6804, allocations: 277.9 kB / 0.5737 GB, free: 4.418 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.6804, allocations: 0 / 0.5737 GB, free: 4.418 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001061/0.6815, allocations: 111.9 kB / 0.5738 GB, free: 4.309 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-05/0.6815, allocations: 4 kB / 0.5738 GB, free: 4.305 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.679e-05/0.6815, allocations: 0 / 0.5738 GB, free: 4.305 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002994/0.6845, allocations: 3.727 MB / 0.5774 GB, free: 448 kB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.046e-05/0.6846, allocations: 4.234 kB / 0.5774 GB, free: 444 kB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000767/0.6854, allocations: 358.5 kB / 0.5778 GB, free: 72 kB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.6855, allocations: 92.86 kB / 0.5779 GB, free: 15.96 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.094e-05/0.6856, allocations: 3.984 kB / 0.5779 GB, free: 15.96 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002932/0.6859, allocations: 8 kB / 0.5779 GB, free: 15.95 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.754e-05/0.686, allocations: 19.97 kB / 0.5779 GB, free: 15.93 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.135e-05/0.686, allocations: 4 kB / 0.5779 GB, free: 15.93 MB / 427.1 MB Notification: Performance of sorting global known variables: time 0.0001603/0.6862, allocations: 124 kB / 0.578 GB, free: 15.8 MB / 427.1 MB Notification: Performance of sort global known variables: time 3.176e-06/0.6862, allocations: 0 / 0.578 GB, free: 15.8 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.0005984/0.6868, allocations: 91.62 kB / 0.5781 GB, free: 15.71 MB / 427.1 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 (19): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001351/0.6882, allocations: 0.9528 MB / 0.579 GB, free: 14.74 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.001356/0.6895, allocations: 288 kB / 0.5793 GB, free: 14.46 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.6896, allocations: 0 / 0.5793 GB, free: 14.46 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009514/0.6905, allocations: 175.8 kB / 0.5795 GB, free: 14.29 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003278/0.6909, allocations: 11.94 kB / 0.5795 GB, free: 14.27 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001584/0.6925, allocations: 0.5012 MB / 0.58 GB, free: 13.73 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005291/0.693, allocations: 0.8024 MB / 0.5808 GB, free: 12.9 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002078/0.6933, allocations: 79.41 kB / 0.5809 GB, free: 12.82 MB / 427.1 MB Notification: Performance of SimCode: time 1.113e-06/0.6933, allocations: 0 / 0.5809 GB, free: 12.82 MB / 427.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.206/3.899, allocations: 11.5 MB / 0.5921 GB, free: 1.312 MB / 427.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_KC.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_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.General.kc_approxForcedConvection_KC_res.mat does not exist to compare? outputFormat=mat