Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.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,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection",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.001103/0.001103, allocations: 182.5 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.579/1.579, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.000938/0.0009384, allocations: 86.89 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2169/0.2169, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002882/0.0002882, allocations: 12 kB / 431.5 MB, free: 19.47 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1163, allocations: 58.85 MB / 490.4 MB, free: 8.555 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3602/0.4765, allocations: 94.07 MB / 0.5707 GB, free: 5.609 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000304/0.4769, allocations: 92.56 kB / 0.5708 GB, free: 5.555 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.036/0.5129, allocations: 13.7 MB / 0.5842 GB, free: 9.613 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.5129, allocations: 0 / 0.5842 GB, free: 9.613 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.099e-05/0.513, allocations: 4 kB / 0.5842 GB, free: 9.609 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001142/0.5141, allocations: 0.6629 MB / 0.5848 GB, free: 8.922 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/0.5142, allocations: 8.031 kB / 0.5849 GB, free: 8.914 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001107/0.5143, allocations: 81.47 kB / 0.5849 GB, free: 8.848 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.598e-05/0.5144, allocations: 51.36 kB / 0.585 GB, free: 8.801 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000422/0.5148, allocations: 282.7 kB / 0.5852 GB, free: 8.488 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.848e-05/0.5149, allocations: 28.75 kB / 0.5853 GB, free: 8.473 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.317e-05/0.5149, allocations: 35.56 kB / 0.5853 GB, free: 8.449 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009357/0.5159, allocations: 0.5673 MB / 0.5859 GB, free: 7.996 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.5159, allocations: 0 / 0.5859 GB, free: 7.996 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.161e-05/0.5159, allocations: 15.69 kB / 0.5859 GB, free: 7.992 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.463e-05/0.516, allocations: 20.98 kB / 0.5859 GB, free: 7.973 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008307/0.5168, allocations: 440 kB / 0.5863 GB, free: 7.629 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00228/0.5191, allocations: 1.307 MB / 0.5876 GB, free: 6.43 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005773/0.5197, allocations: 310.6 kB / 0.5879 GB, free: 6.133 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.92e-05/0.5198, allocations: 11.97 kB / 0.5879 GB, free: 6.121 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.94e-05/0.5198, allocations: 38.5 kB / 0.5879 GB, free: 6.074 MB / 394.7 MB Notification: Performance of pre-optimization done (n=17): time 2.014e-06/0.5198, allocations: 0 / 0.5879 GB, free: 6.074 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.001357/0.5212, allocations: 0.7574 MB / 0.5887 GB, free: 5.305 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.945e-05/0.5213, allocations: 110.9 kB / 0.5888 GB, free: 5.172 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005354/0.5218, allocations: 455.7 kB / 0.5892 GB, free: 4.797 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.152e-05/0.5219, allocations: 29.02 kB / 0.5892 GB, free: 4.766 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001614/0.522, allocations: 208.7 kB / 0.5894 GB, free: 4.629 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.033e-05/0.5221, allocations: 54.77 kB / 0.5895 GB, free: 4.582 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.686e-05/0.5221, allocations: 3.438 kB / 0.5895 GB, free: 4.582 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.5223, allocations: 354.2 kB / 0.5898 GB, free: 4.242 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003381/0.5226, allocations: 154.2 kB / 0.59 GB, free: 4.105 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003659/0.523, allocations: 241.8 kB / 0.5902 GB, free: 3.855 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003501/0.5233, allocations: 181.4 kB / 0.5904 GB, free: 3.703 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.5234, allocations: 0 / 0.5904 GB, free: 3.703 MB / 394.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000934/0.5243, allocations: 470.3 kB / 0.5908 GB, free: 3.285 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.5243, allocations: 8 kB / 0.5908 GB, free: 3.277 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.725e-05/0.5244, allocations: 31.97 kB / 0.5909 GB, free: 3.246 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.5244, allocations: 4 kB / 0.5909 GB, free: 3.242 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002259/0.5247, allocations: 42.78 kB / 0.5909 GB, free: 3.203 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.5247, allocations: 7.953 kB / 0.5909 GB, free: 3.195 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003003/0.525, allocations: 58.72 kB / 0.591 GB, free: 3.141 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.478e-05/0.525, allocations: 12 kB / 0.591 GB, free: 3.129 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 9 (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 (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0002363/0.5253, allocations: 206 kB / 0.5912 GB, free: 2.938 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.5254, allocations: 39.53 kB / 0.5912 GB, free: 2.898 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008423/0.5262, allocations: 448.5 kB / 0.5917 GB, free: 2.504 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-06/0.5263, allocations: 7.938 kB / 0.5917 GB, free: 2.496 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.5263, allocations: 0 / 0.5917 GB, free: 2.496 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.238e-06/0.5263, allocations: 7.938 kB / 0.5917 GB, free: 2.488 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000564/0.5269, allocations: 372.1 kB / 0.592 GB, free: 2.121 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.227e-05/0.5269, allocations: 31.97 kB / 0.5921 GB, free: 2.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001627/0.5271, allocations: 31.97 kB / 0.5921 GB, free: 2.059 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.5271, allocations: 0 / 0.5921 GB, free: 2.059 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.809e-05/0.5271, allocations: 11.94 kB / 0.5921 GB, free: 2.051 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.5271, allocations: 0 / 0.5921 GB, free: 2.051 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.5271, allocations: 4 kB / 0.5921 GB, free: 2.047 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008838/0.528, allocations: 0.6492 MB / 0.5927 GB, free: 1.41 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001361/0.5282, allocations: 120.6 kB / 0.5929 GB, free: 1.273 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.837e-05/0.5283, allocations: 3.75 kB / 0.5929 GB, free: 1.273 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002799/0.5285, allocations: 31.92 kB / 0.5929 GB, free: 1.242 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.482e-05/0.5286, allocations: 22.8 kB / 0.5929 GB, free: 1.223 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.707e-05/0.5287, allocations: 11.98 kB / 0.5929 GB, free: 1.211 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003542/0.529, allocations: 359 kB / 0.5933 GB, free: 0.9258 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.529, allocations: 0 / 0.5933 GB, free: 0.9258 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005863/0.5296, allocations: 130.8 kB / 0.5934 GB, free: 0.8047 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.001499/0.5311, allocations: 1.446 MB / 0.5948 GB, free: 15.37 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008866/0.532, allocations: 0.5789 MB / 0.5954 GB, free: 14.77 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.532, allocations: 0 / 0.5954 GB, free: 14.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004653/0.5325, allocations: 419.8 kB / 0.5958 GB, free: 14.33 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004906/0.533, allocations: 88.44 kB / 0.5959 GB, free: 14.26 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005038/0.5381, allocations: 4.455 MB / 0.6002 GB, free: 10.11 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000429/0.5385, allocations: 0.8534 MB / 0.601 GB, free: 9.238 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002193/0.5388, allocations: 71.22 kB / 0.6011 GB, free: 9.164 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/0.5389, allocations: 110.1 kB / 0.6012 GB, free: 9.129 MB / 410.7 MB Notification: Performance of SimCode: time 7.11e-07/0.5389, allocations: 0 / 0.6012 GB, free: 9.129 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02838/0.5673, allocations: 11.59 MB / 0.6125 GB, free: 13.6 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001895/0.5675, allocations: 227.6 kB / 0.6127 GB, free: 13.36 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.168/2.735, allocations: 0 / 0.6127 GB, free: 13.36 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.mat does not exist to compare? outputFormat=mat