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_evenGapLaminar_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_evenGapLaminar_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_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.001556/0.001556, allocations: 180.9 kB / 13.65 MB, free: 1.66 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.106/2.106, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.001179/0.001178, allocations: 86.66 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.2875/0.2875, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.836e-05/3.852e-05, allocations: 4 kB / 425.4 MB, free: 23.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.129, allocations: 58.85 MB / 484.3 MB, free: 12.35 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5185/0.6475, allocations: 93.31 MB / 0.564 GB, free: 10.16 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004222/0.648, allocations: 98.94 kB / 0.5641 GB, free: 10.1 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0629/0.7109, allocations: 14.13 MB / 0.5779 GB, free: 13.92 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.711, allocations: 0 / 0.5779 GB, free: 13.92 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.847e-05/0.711, allocations: 4 kB / 0.5779 GB, free: 13.91 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.00143/0.7124, allocations: 0.6296 MB / 0.5785 GB, free: 13.27 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.494e-05/0.7125, allocations: 12.03 kB / 0.5786 GB, free: 13.25 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001677/0.7127, allocations: 95.02 kB / 0.5786 GB, free: 13.18 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001332/0.7128, allocations: 59.34 kB / 0.5787 GB, free: 13.12 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006066/0.7135, allocations: 307.6 kB / 0.579 GB, free: 12.79 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.296e-05/0.7135, allocations: 38.12 kB / 0.579 GB, free: 12.77 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/0.7136, allocations: 49.36 kB / 0.5791 GB, free: 12.74 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/0.7152, allocations: 0.6676 MB / 0.5797 GB, free: 12.23 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.7152, allocations: 0 / 0.5797 GB, free: 12.23 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.644e-05/0.7153, allocations: 18.5 kB / 0.5798 GB, free: 12.23 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001019/0.7154, allocations: 45.28 kB / 0.5798 GB, free: 12.18 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001663/0.7171, allocations: 0.7125 MB / 0.5805 GB, free: 11.64 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003692/0.7208, allocations: 1.466 MB / 0.5819 GB, free: 10.33 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001215/0.7221, allocations: 437.5 kB / 0.5823 GB, free: 9.934 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003993/0.7225, allocations: 141.9 kB / 0.5825 GB, free: 9.812 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.221e-05/0.7226, allocations: 12.2 kB / 0.5825 GB, free: 9.801 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/0.7226, allocations: 38.55 kB / 0.5825 GB, free: 9.758 MB / 394.7 MB Notification: Performance of pre-optimization done (n=28): time 3.025e-06/0.7226, allocations: 0 / 0.5825 GB, free: 9.758 MB / 394.7 MB Notification: Performance of matching and sorting (n=28): time 0.001173/0.7238, allocations: 374 kB / 0.5829 GB, free: 9.418 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.505e-05/0.7239, allocations: 55.41 kB / 0.5829 GB, free: 9.352 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008818/0.7248, allocations: 481.7 kB / 0.5834 GB, free: 8.965 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.352e-05/0.7248, allocations: 28.95 kB / 0.5834 GB, free: 8.934 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001966/0.725, allocations: 275.1 kB / 0.5837 GB, free: 8.727 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/0.7252, allocations: 97.33 kB / 0.5838 GB, free: 8.645 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.031e-05/0.7252, allocations: 3.125 kB / 0.5838 GB, free: 8.645 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.7254, allocations: 325.6 kB / 0.5841 GB, free: 8.324 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004154/0.7258, allocations: 146.2 kB / 0.5842 GB, free: 8.195 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005055/0.7263, allocations: 232.5 kB / 0.5844 GB, free: 7.953 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004958/0.7269, allocations: 177.1 kB / 0.5846 GB, free: 7.797 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.7269, allocations: 0 / 0.5846 GB, free: 7.797 MB / 394.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001249/0.7281, allocations: 446.6 kB / 0.585 GB, free: 7.402 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.699e-05/0.7282, allocations: 8 kB / 0.5851 GB, free: 7.395 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.486e-05/0.7282, allocations: 4 kB / 0.5851 GB, free: 7.391 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.701e-05/0.7282, allocations: 7.984 kB / 0.5851 GB, free: 7.383 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001921/0.7302, allocations: 207.9 kB / 0.5853 GB, free: 7.184 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005629/0.7358, allocations: 7.303 MB / 0.5924 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007022/0.7366, allocations: 62.2 kB / 0.5925 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-05/0.7367, allocations: 23.02 kB / 0.5925 GB, free: 15.61 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (40): * Single equations (assignments): 28 * 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.0002272/0.7369, allocations: 145 kB / 0.5926 GB, free: 15.47 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.737, allocations: 43.44 kB / 0.5927 GB, free: 15.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001607/0.7387, allocations: 0.5041 MB / 0.5931 GB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.7387, allocations: 4 kB / 0.5932 GB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.7387, allocations: 112 / 0.5932 GB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/0.7387, allocations: 7.922 kB / 0.5932 GB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008647/0.7396, allocations: 427.1 kB / 0.5936 GB, free: 14.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.583e-06/0.7396, allocations: 7.953 kB / 0.5936 GB, free: 14.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001768/0.7414, allocations: 198.9 kB / 0.5938 GB, free: 14.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.837e-06/0.7414, allocations: 0 / 0.5938 GB, free: 14.35 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.628e-05/0.7415, allocations: 14.98 kB / 0.5938 GB, free: 14.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005392/0.7469, allocations: 7.312 MB / 0.6009 GB, free: 6.832 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/0.7469, allocations: 7.922 kB / 0.6009 GB, free: 6.824 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001175/0.7481, allocations: 481.6 kB / 0.6014 GB, free: 6.375 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000222/0.7484, allocations: 124.5 kB / 0.6015 GB, free: 6.234 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001301/0.7485, allocations: 7.359 kB / 0.6015 GB, free: 6.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004429/0.749, allocations: 18.28 kB / 0.6015 GB, free: 6.219 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/0.7491, allocations: 23.95 kB / 0.6016 GB, free: 6.195 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.088e-05/0.7491, allocations: 15.42 kB / 0.6016 GB, free: 6.184 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006885/0.7498, allocations: 378.7 kB / 0.6019 GB, free: 5.891 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.615e-06/0.7499, allocations: 0 / 0.6019 GB, free: 5.891 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007481/0.7506, allocations: 146 kB / 0.6021 GB, free: 5.758 MB / 410.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 (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.001802/0.7524, allocations: 1.096 MB / 0.6031 GB, free: 4.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002312/0.7548, allocations: 465.7 kB / 0.6036 GB, free: 4.262 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.7548, allocations: 0 / 0.6036 GB, free: 4.262 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001775/0.7566, allocations: 285 kB / 0.6039 GB, free: 4.004 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000766/0.7574, allocations: 95.56 kB / 0.6039 GB, free: 3.938 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002656/0.7601, allocations: 0.8463 MB / 0.6048 GB, free: 3.109 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006681/0.7608, allocations: 0.8993 MB / 0.6056 GB, free: 2.195 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003217/0.7612, allocations: 146.6 kB / 0.6058 GB, free: 2.145 MB / 410.7 MB Notification: Performance of SimCode: time 1.743e-06/0.7612, allocations: 0 / 0.6058 GB, free: 2.145 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.605/4.367, allocations: 30.67 MB / 0.6357 GB, free: 3.484 MB / 442.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_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_evenGapLaminar_KC_res.mat does not exist to compare? outputFormat=mat