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.002232/0.002232, allocations: 179.4 kB / 8.364 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.213/2.213, 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.001038/0.001038, allocations: 87.64 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.3369/0.3369, allocations: 43.49 MB / 353.6 MB, free: 2.281 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.189e-05/2.197e-05, allocations: 0 / 418.3 MB, free: 40.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4143/0.4143, allocations: 58.85 MB / 477.2 MB, free: 5.305 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.177/0.5914, allocations: 92.65 MB / 0.5565 GB, free: 6.625 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003864/0.5918, allocations: 95.92 kB / 0.5566 GB, free: 6.531 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.06249/0.6543, allocations: 13.95 MB / 0.5702 GB, free: 8.352 MB / 411.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.6544, allocations: 0 / 0.5702 GB, free: 8.352 MB / 411.1 MB Notification: Performance of Transformations before backend: time 2.456e-05/0.6544, allocations: 8 kB / 0.5702 GB, free: 8.344 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.00145/0.6559, allocations: 0.6318 MB / 0.5708 GB, free: 7.664 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.399e-05/0.6559, allocations: 8.031 kB / 0.5708 GB, free: 7.656 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001404/0.6561, allocations: 55.34 kB / 0.5709 GB, free: 7.602 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006526/0.6567, allocations: 302.8 kB / 0.5712 GB, free: 7.262 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.263e-05/0.6568, allocations: 16 kB / 0.5712 GB, free: 7.246 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.49e-05/0.6569, allocations: 31.94 kB / 0.5712 GB, free: 7.215 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001479/0.6584, allocations: 0.6233 MB / 0.5718 GB, free: 6.594 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001429/0.6598, allocations: 0.5895 MB / 0.5724 GB, free: 5.996 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.321e-05/0.6599, allocations: 0 / 0.5724 GB, free: 5.996 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.842e-05/0.66, allocations: 0 / 0.5724 GB, free: 5.996 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000107/0.6601, allocations: 57.22 kB / 0.5725 GB, free: 5.941 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003663/0.6638, allocations: 1.304 MB / 0.5737 GB, free: 4.598 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001327/0.6651, allocations: 0.5021 MB / 0.5742 GB, free: 4.086 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004389/0.6656, allocations: 160.7 kB / 0.5744 GB, free: 3.926 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.613e-05/0.6657, allocations: 15.97 kB / 0.5744 GB, free: 3.91 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.6657, allocations: 35.19 kB / 0.5744 GB, free: 3.867 MB / 411.1 MB Notification: Performance of pre-optimization done (n=37): time 2.765e-06/0.6657, allocations: 0 / 0.5744 GB, free: 3.867 MB / 411.1 MB Notification: Performance of matching and sorting (n=37): time 0.001246/0.667, allocations: 408.3 kB / 0.5748 GB, free: 3.461 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.269e-05/0.6671, allocations: 59.34 kB / 0.5749 GB, free: 3.391 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000267/0.6674, allocations: 170.5 kB / 0.575 GB, free: 3.207 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 4.321e-05/0.6674, allocations: 25.7 kB / 0.5751 GB, free: 3.176 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002309/0.6677, allocations: 302.7 kB / 0.5754 GB, free: 2.879 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001729/0.6679, allocations: 130 kB / 0.5755 GB, free: 2.75 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.225e-05/0.6679, allocations: 0 / 0.5755 GB, free: 2.75 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.6681, allocations: 326.8 kB / 0.5758 GB, free: 2.422 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004379/0.6685, allocations: 164.7 kB / 0.576 GB, free: 2.262 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005362/0.6691, allocations: 250.5 kB / 0.5762 GB, free: 1.98 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005513/0.6697, allocations: 199.7 kB / 0.5764 GB, free: 1.785 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.6697, allocations: 0 / 0.5764 GB, free: 1.785 MB / 411.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001369/0.671, allocations: 480.7 kB / 0.5768 GB, free: 1.309 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.166e-05/0.6711, allocations: 11.98 kB / 0.5769 GB, free: 1.297 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.6711, allocations: 4 kB / 0.5769 GB, free: 1.293 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.728e-05/0.6712, allocations: 4 kB / 0.5769 GB, free: 1.289 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001969/0.6731, allocations: 211.7 kB / 0.5771 GB, free: 1.082 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005816/0.679, allocations: 7.349 MB / 0.5842 GB, free: 9.453 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005321/0.6796, allocations: 19.83 kB / 0.5843 GB, free: 9.434 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-05/0.6797, allocations: 27.98 kB / 0.5843 GB, free: 9.406 MB / 427.1 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 (49): * Single equations (assignments): 37 * 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.0002204/0.6799, allocations: 121.1 kB / 0.5844 GB, free: 9.281 MB / 427.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001135/0.6811, allocations: 412.8 kB / 0.5848 GB, free: 8.871 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.902e-05/0.6812, allocations: 23.72 kB / 0.5848 GB, free: 8.848 MB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00164/0.6828, allocations: 0.5352 MB / 0.5853 GB, free: 8.301 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/0.6829, allocations: 4 kB / 0.5853 GB, free: 8.297 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.631e-05/0.6829, allocations: 8 kB / 0.5853 GB, free: 8.289 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/0.6829, allocations: 0 / 0.5853 GB, free: 8.289 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009102/0.6838, allocations: 397.7 kB / 0.5857 GB, free: 7.863 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/0.6839, allocations: 4 kB / 0.5857 GB, free: 7.859 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001855/0.6857, allocations: 215.7 kB / 0.5859 GB, free: 7.648 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.027e-05/0.6858, allocations: 0 / 0.5859 GB, free: 7.648 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.693e-05/0.6858, allocations: 11.98 kB / 0.5859 GB, free: 7.637 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005782/0.6916, allocations: 7.337 MB / 0.5931 GB, free: 20 kB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/0.6917, allocations: 0 / 0.5931 GB, free: 20 kB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001288/0.693, allocations: 0.5076 MB / 0.5936 GB, free: 15.5 MB / 443.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.6931, allocations: 104.7 kB / 0.5937 GB, free: 15.38 MB / 443.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.354e-05/0.6932, allocations: 0 / 0.5937 GB, free: 15.38 MB / 443.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004071/0.6936, allocations: 16.08 kB / 0.5937 GB, free: 15.36 MB / 443.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/0.6937, allocations: 27.95 kB / 0.5938 GB, free: 15.33 MB / 443.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.874e-05/0.6938, allocations: 15.98 kB / 0.5938 GB, free: 15.32 MB / 443.1 MB Notification: Performance of sorting global known variables: time 0.0001715/0.694, allocations: 132 kB / 0.5939 GB, free: 15.19 MB / 443.1 MB Notification: Performance of sort global known variables: time 5.51e-07/0.694, allocations: 0 / 0.5939 GB, free: 15.19 MB / 443.1 MB Notification: Performance of remove unused functions: time 0.0008371/0.6949, allocations: 159.4 kB / 0.594 GB, free: 15.03 MB / 443.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 (37): * Single equations (assignments): 25 * 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.001953/0.6968, allocations: 1.128 MB / 0.5951 GB, free: 13.88 MB / 443.1 MB Notification: Performance of simCode: created initialization part: time 0.002391/0.6993, allocations: 0.4997 MB / 0.5956 GB, free: 13.38 MB / 443.1 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.6993, allocations: 0 / 0.5956 GB, free: 13.38 MB / 443.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001708/0.701, allocations: 307.6 kB / 0.5959 GB, free: 13.08 MB / 443.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004023/0.7015, allocations: 28.03 kB / 0.596 GB, free: 13.05 MB / 443.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002696/0.7042, allocations: 0.8102 MB / 0.5967 GB, free: 12.19 MB / 443.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007505/0.705, allocations: 0.9047 MB / 0.5976 GB, free: 11.26 MB / 443.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003889/0.7054, allocations: 135.4 kB / 0.5978 GB, free: 11.12 MB / 443.1 MB Notification: Performance of SimCode: time 1.593e-06/0.7054, allocations: 0 / 0.5978 GB, free: 11.12 MB / 443.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.492/4.197, allocations: 29.21 MB / 0.6263 GB, free: 13.88 MB / 475.1 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