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.002387/0.002392, allocations: 181.3 kB / 13.66 MB, free: 1.664 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.296/2.296, allocations: 205.2 MB / 219.4 MB, free: 14.29 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.001177/0.001177, allocations: 98.67 kB / 267.5 MB, free: 14.11 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.282/0.282, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.245e-05/4.259e-05, allocations: 7.984 kB / 425.4 MB, free: 23.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1581, allocations: 58.85 MB / 484.3 MB, free: 12.36 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5221/0.6802, allocations: 91.57 MB / 0.5623 GB, free: 11.93 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003659/0.6806, allocations: 97.03 kB / 0.5624 GB, free: 11.87 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04806/0.7287, allocations: 10.08 MB / 0.5723 GB, free: 3.219 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.265e-06/0.7288, allocations: 0 / 0.5723 GB, free: 3.219 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.081e-05/0.7288, allocations: 4 kB / 0.5723 GB, free: 3.215 MB / 378.7 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.001069/0.7299, allocations: 0.4982 MB / 0.5728 GB, free: 2.688 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/0.73, allocations: 12.03 kB / 0.5728 GB, free: 2.676 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001219/0.7301, allocations: 68.66 kB / 0.5728 GB, free: 2.617 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.573e-05/0.7302, allocations: 27.66 kB / 0.5729 GB, free: 2.59 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004319/0.7306, allocations: 246.1 kB / 0.5731 GB, free: 2.312 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.44e-05/0.7307, allocations: 24.31 kB / 0.5731 GB, free: 2.297 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.731e-05/0.7308, allocations: 30.94 kB / 0.5731 GB, free: 2.273 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009141/0.7317, allocations: 369.7 kB / 0.5735 GB, free: 1.996 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.7317, allocations: 4 kB / 0.5735 GB, free: 1.992 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.486e-05/0.7318, allocations: 15.11 kB / 0.5735 GB, free: 1.984 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.432e-05/0.7319, allocations: 20.77 kB / 0.5735 GB, free: 1.961 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00092/0.7329, allocations: 384.4 kB / 0.5739 GB, free: 1.68 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002386/0.7353, allocations: 0.886 MB / 0.5748 GB, free: 0.8516 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00104/0.7364, allocations: 282.5 kB / 0.575 GB, free: 0.5938 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002678/0.7367, allocations: 92.03 kB / 0.5751 GB, free: 0.5117 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.619e-05/0.7368, allocations: 10.94 kB / 0.5751 GB, free: 0.5039 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.541e-05/0.7368, allocations: 30.56 kB / 0.5752 GB, free: 476 kB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 3.417e-06/0.7368, allocations: 4 kB / 0.5752 GB, free: 472 kB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.000793/0.7376, allocations: 244.6 kB / 0.5754 GB, free: 244 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.7377, allocations: 51.41 kB / 0.5755 GB, free: 180 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005781/0.7383, allocations: 312.2 kB / 0.5757 GB, free: 15.91 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.339e-05/0.7383, allocations: 29.58 kB / 0.5758 GB, free: 15.88 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.7385, allocations: 212 kB / 0.576 GB, free: 15.7 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.63e-05/0.7386, allocations: 49.08 kB / 0.576 GB, free: 15.66 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.089e-05/0.7386, allocations: 3.062 kB / 0.576 GB, free: 15.66 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.7388, allocations: 317.8 kB / 0.5763 GB, free: 15.34 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002703/0.7391, allocations: 89.42 kB / 0.5764 GB, free: 15.27 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003087/0.7394, allocations: 139.4 kB / 0.5765 GB, free: 15.12 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003214/0.7397, allocations: 108.8 kB / 0.5767 GB, free: 15.03 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.7397, allocations: 0 / 0.5767 GB, free: 15.03 MB / 394.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008341/0.7406, allocations: 264.3 kB / 0.5769 GB, free: 14.79 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.197e-05/0.7406, allocations: 8 kB / 0.5769 GB, free: 14.79 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.7407, allocations: 0 / 0.5769 GB, free: 14.79 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.857e-05/0.7407, allocations: 4 kB / 0.5769 GB, free: 14.78 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/0.7418, allocations: 119.3 kB / 0.577 GB, free: 14.67 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00315/0.745, allocations: 3.702 MB / 0.5806 GB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004159/0.7455, allocations: 35.41 kB / 0.5807 GB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.984e-05/0.7455, allocations: 11.98 kB / 0.5807 GB, free: 10.83 MB / 394.7 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 (21): * Single equations (assignments): 15 * 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.0001722/0.7457, allocations: 124.2 kB / 0.5808 GB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.897e-05/0.7458, allocations: 23.72 kB / 0.5808 GB, free: 10.69 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001024/0.7468, allocations: 324.8 kB / 0.5811 GB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-06/0.7469, allocations: 7.984 kB / 0.5811 GB, free: 10.4 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.7469, allocations: 4 kB / 0.5812 GB, free: 10.4 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.7469, allocations: 0 / 0.5812 GB, free: 10.4 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006231/0.7476, allocations: 310.8 kB / 0.5814 GB, free: 10.08 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.22e-05/0.7476, allocations: 3.953 kB / 0.5815 GB, free: 10.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001058/0.7487, allocations: 107.8 kB / 0.5816 GB, free: 9.969 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.376e-06/0.7487, allocations: 0 / 0.5816 GB, free: 9.969 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.794e-05/0.7487, allocations: 11.61 kB / 0.5816 GB, free: 9.961 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002847/0.7516, allocations: 3.702 MB / 0.5852 GB, free: 6.168 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.7516, allocations: 0 / 0.5852 GB, free: 6.168 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007914/0.7524, allocations: 343.7 kB / 0.5855 GB, free: 5.844 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001534/0.7526, allocations: 108.7 kB / 0.5856 GB, free: 5.719 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.485e-05/0.7527, allocations: 3.75 kB / 0.5856 GB, free: 5.719 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003156/0.753, allocations: 11.98 kB / 0.5856 GB, free: 5.707 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.468e-05/0.7531, allocations: 15.55 kB / 0.5856 GB, free: 5.695 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.24e-05/0.7532, allocations: 7.984 kB / 0.5857 GB, free: 5.688 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004231/0.7536, allocations: 253.2 kB / 0.5859 GB, free: 5.48 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.7536, allocations: 0 / 0.5859 GB, free: 5.48 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005597/0.7542, allocations: 83.05 kB / 0.586 GB, free: 5.406 MB / 394.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 (15): * Single equations (assignments): 9 * 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.001408/0.7556, allocations: 0.9362 MB / 0.5869 GB, free: 4.469 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001429/0.7571, allocations: 264 kB / 0.5871 GB, free: 4.234 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.7571, allocations: 8.031 kB / 0.5871 GB, free: 4.227 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009558/0.7581, allocations: 161.8 kB / 0.5873 GB, free: 4.078 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005789/0.7587, allocations: 57.56 kB / 0.5874 GB, free: 4.039 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001673/0.7604, allocations: 0.5233 MB / 0.5879 GB, free: 3.516 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004899/0.7609, allocations: 0.8057 MB / 0.5887 GB, free: 2.691 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001912/0.7611, allocations: 78.64 kB / 0.5887 GB, free: 2.66 MB / 394.7 MB Notification: Performance of SimCode: time 1.673e-06/0.7611, allocations: 0 / 0.5887 GB, free: 2.66 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.127/3.888, allocations: 12.44 MB / 0.6009 GB, free: 6.246 MB / 410.7 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