Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_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_evenGapOverall_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_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.001382/0.001382, allocations: 177.8 kB / 8.007 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.977/1.977, allocations: 205.3 MB / 213.7 MB, free: 1.746 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001002/0.001002, allocations: 90.3 kB / 261.7 MB, free: 1.688 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2417/0.2417, allocations: 43.49 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.811e-05/1.795e-05, allocations: 0 / 418.4 MB, free: 28.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.141, allocations: 58.86 MB / 477.2 MB, free: 1.523 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.539/0.68, allocations: 96.93 MB / 0.5607 GB, free: 14.46 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003828/0.6805, allocations: 98.34 kB / 0.5608 GB, free: 14.41 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05596/0.7365, allocations: 20.1 MB / 0.5804 GB, free: 13.54 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.7365, allocations: 0 / 0.5804 GB, free: 13.54 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.982e-05/0.7366, allocations: 8 kB / 0.5804 GB, free: 13.53 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.001118/0.7377, allocations: 0.6608 MB / 0.5811 GB, free: 12.85 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.7378, allocations: 16.03 kB / 0.5811 GB, free: 12.84 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.054e-05/0.7379, allocations: 51.34 kB / 0.5811 GB, free: 12.79 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004281/0.7383, allocations: 307.5 kB / 0.5814 GB, free: 12.45 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.779e-05/0.7383, allocations: 16 kB / 0.5814 GB, free: 12.44 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.891e-05/0.7384, allocations: 28 kB / 0.5815 GB, free: 12.41 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009193/0.7393, allocations: 0.6292 MB / 0.5821 GB, free: 11.96 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000869/0.7402, allocations: 0.5982 MB / 0.5827 GB, free: 11.47 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.7402, allocations: 0 / 0.5827 GB, free: 11.47 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.623e-05/0.7403, allocations: 0 / 0.5827 GB, free: 11.47 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.918e-05/0.7403, allocations: 45.28 kB / 0.5827 GB, free: 11.43 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002111/0.7425, allocations: 1.299 MB / 0.584 GB, free: 10.27 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000725/0.7432, allocations: 0.5046 MB / 0.5845 GB, free: 9.809 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002292/0.7434, allocations: 165.8 kB / 0.5846 GB, free: 9.664 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.414e-05/0.7435, allocations: 11.3 kB / 0.5846 GB, free: 9.656 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.516e-05/0.7435, allocations: 34.62 kB / 0.5847 GB, free: 9.617 MB / 394.7 MB Notification: Performance of pre-optimization done (n=37): time 2.044e-06/0.7435, allocations: 0 / 0.5847 GB, free: 9.617 MB / 394.7 MB Notification: Performance of matching and sorting (n=37): time 0.0006906/0.7442, allocations: 409.1 kB / 0.5851 GB, free: 9.246 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.631e-05/0.7443, allocations: 59.41 kB / 0.5851 GB, free: 9.176 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001926/0.7445, allocations: 194.8 kB / 0.5853 GB, free: 9 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.798e-05/0.7445, allocations: 29.7 kB / 0.5853 GB, free: 8.965 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/0.7447, allocations: 251 kB / 0.5856 GB, free: 8.742 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.778e-05/0.7448, allocations: 116.2 kB / 0.5857 GB, free: 8.641 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.179e-05/0.7448, allocations: 0 / 0.5857 GB, free: 8.641 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.7449, allocations: 337.2 kB / 0.586 GB, free: 8.312 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002378/0.7452, allocations: 174.1 kB / 0.5862 GB, free: 8.164 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003342/0.7455, allocations: 294.9 kB / 0.5865 GB, free: 7.848 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003087/0.7459, allocations: 226.2 kB / 0.5867 GB, free: 7.652 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.7459, allocations: 4 kB / 0.5867 GB, free: 7.648 MB / 394.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0007755/0.7467, allocations: 0.5163 MB / 0.5872 GB, free: 7.176 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.7467, allocations: 7.125 kB / 0.5872 GB, free: 7.172 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.7467, allocations: 8 kB / 0.5872 GB, free: 7.164 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.7467, allocations: 4 kB / 0.5872 GB, free: 7.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001057/0.7478, allocations: 227.2 kB / 0.5874 GB, free: 6.941 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004028/0.7518, allocations: 7.341 MB / 0.5946 GB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003623/0.7522, allocations: 35.42 kB / 0.5946 GB, free: 15.37 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.833e-05/0.7523, allocations: 23.98 kB / 0.5946 GB, free: 15.34 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (55): * Single equations (assignments): 43 * 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.0001904/0.7525, allocations: 128.2 kB / 0.5948 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006444/0.7531, allocations: 405.2 kB / 0.5952 GB, free: 14.85 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.432e-05/0.7532, allocations: 27.7 kB / 0.5952 GB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009708/0.7542, allocations: 0.5412 MB / 0.5957 GB, free: 14.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.7542, allocations: 4 kB / 0.5957 GB, free: 14.33 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.7542, allocations: 0 / 0.5957 GB, free: 14.33 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.7542, allocations: 7.984 kB / 0.5957 GB, free: 14.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005852/0.7548, allocations: 391.9 kB / 0.5961 GB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.7548, allocations: 0 / 0.5961 GB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009223/0.7558, allocations: 206.9 kB / 0.5963 GB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/0.7558, allocations: 4 kB / 0.5963 GB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.831e-05/0.7558, allocations: 7.984 kB / 0.5963 GB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004564/0.7604, allocations: 7.331 MB / 0.6035 GB, free: 6.207 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.688e-06/0.7604, allocations: 0 / 0.6035 GB, free: 6.207 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008344/0.7613, allocations: 0.5164 MB / 0.604 GB, free: 5.719 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/0.7614, allocations: 104.7 kB / 0.6041 GB, free: 5.598 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.027e-05/0.7615, allocations: 192 / 0.6041 GB, free: 5.598 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002194/0.7617, allocations: 15.98 kB / 0.6041 GB, free: 5.582 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.7618, allocations: 27.95 kB / 0.6041 GB, free: 5.555 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.51e-05/0.7618, allocations: 19.3 kB / 0.6041 GB, free: 5.539 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001292/0.762, allocations: 142.8 kB / 0.6043 GB, free: 5.418 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.762, allocations: 0 / 0.6043 GB, free: 5.418 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001078/0.7631, allocations: 199.1 kB / 0.6044 GB, free: 5.23 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 (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.001894/0.765, allocations: 1.204 MB / 0.6056 GB, free: 4.047 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001594/0.7666, allocations: 0.5067 MB / 0.6061 GB, free: 3.586 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.047e-06/0.7666, allocations: 8 kB / 0.6061 GB, free: 3.578 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009885/0.7676, allocations: 308.2 kB / 0.6064 GB, free: 3.301 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004134/0.768, allocations: 19.44 kB / 0.6064 GB, free: 3.285 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002403/0.7705, allocations: 0.822 MB / 0.6072 GB, free: 2.465 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008002/0.7713, allocations: 0.9115 MB / 0.6081 GB, free: 1.535 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003009/0.7716, allocations: 119.1 kB / 0.6082 GB, free: 1.422 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002448/0.7718, allocations: 136.7 kB / 0.6084 GB, free: 1.383 MB / 410.7 MB Notification: Performance of SimCode: time 1.082e-06/0.7719, allocations: 0 / 0.6084 GB, free: 1.383 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03444/0.8063, allocations: 9.216 MB / 0.6174 GB, free: 8.168 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002596/0.8066, allocations: 187.8 kB / 0.6176 GB, free: 7.977 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.334/3.14, allocations: 4 kB / 0.6176 GB, free: 7.973 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_KC_res.mat does not exist to compare? outputFormat=mat