Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.002189/0.002189, allocations: 177 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 223.2 MB / 241 MB, free: 10.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008783/0.0008785, allocations: 106 kB / 292.1 MB, free: 10.69 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3212/0.3212, allocations: 44.21 MB / 387.5 MB, free: 38.52 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003502/0.0003504, allocations: 8 kB / 460 MB, free: 1.398 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.3438, allocations: 61.9 MB / 0.5097 GB, free: 37.91 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1143/0.4582, allocations: 94.55 MB / 0.602 GB, free: 0.5391 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002561/0.4585, allocations: 99.91 kB / 0.6021 GB, free: 456 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03728/0.4958, allocations: 14.47 MB / 0.6162 GB, free: 1.75 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.4958, allocations: 0 / 0.6162 GB, free: 1.75 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.725e-05/0.4958, allocations: 11.94 kB / 0.6162 GB, free: 1.738 MB / 426.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.001075/0.4969, allocations: 0.6551 MB / 0.6169 GB, free: 1.035 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.497, allocations: 8.031 kB / 0.6169 GB, free: 1.027 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001472/0.4971, allocations: 98.52 kB / 0.617 GB, free: 0.9219 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001121/0.4972, allocations: 55.33 kB / 0.617 GB, free: 0.8672 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004959/0.4978, allocations: 300.4 kB / 0.6173 GB, free: 0.5312 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.928e-05/0.4978, allocations: 45.3 kB / 0.6174 GB, free: 496 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.219e-05/0.4979, allocations: 51.95 kB / 0.6174 GB, free: 444 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/0.499, allocations: 0.6934 MB / 0.6181 GB, free: 15.73 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.499, allocations: 0 / 0.6181 GB, free: 15.73 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.618e-05/0.4991, allocations: 20 kB / 0.6181 GB, free: 15.71 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-05/0.4991, allocations: 37.3 kB / 0.6181 GB, free: 15.68 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001119/0.5002, allocations: 0.7545 MB / 0.6189 GB, free: 14.92 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002414/0.5027, allocations: 1.461 MB / 0.6203 GB, free: 13.41 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000734/0.5034, allocations: 465.1 kB / 0.6207 GB, free: 12.95 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.67e-05/0.5035, allocations: 12.2 kB / 0.6208 GB, free: 12.93 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.5035, allocations: 30.8 kB / 0.6208 GB, free: 12.89 MB / 442.7 MB Notification: Performance of pre-optimization done (n=28): time 1.913e-06/0.5035, allocations: 0 / 0.6208 GB, free: 12.89 MB / 442.7 MB Notification: Performance of matching and sorting (n=28): time 0.001086/0.5046, allocations: 0.5491 MB / 0.6213 GB, free: 12.34 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.299e-05/0.5047, allocations: 55.41 kB / 0.6214 GB, free: 12.27 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000536/0.5052, allocations: 488.9 kB / 0.6218 GB, free: 11.79 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/0.5053, allocations: 29.7 kB / 0.6219 GB, free: 11.75 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001552/0.5054, allocations: 232.5 kB / 0.6221 GB, free: 11.52 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.872e-05/0.5055, allocations: 94.56 kB / 0.6222 GB, free: 11.43 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.951e-05/0.5055, allocations: 8 kB / 0.6222 GB, free: 11.42 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.5057, allocations: 362.8 kB / 0.6225 GB, free: 11.05 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002996/0.506, allocations: 156.4 kB / 0.6227 GB, free: 10.9 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003478/0.5064, allocations: 248.3 kB / 0.6229 GB, free: 10.62 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003397/0.5067, allocations: 204 kB / 0.6231 GB, free: 10.42 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.5067, allocations: 0 / 0.6231 GB, free: 10.42 MB / 442.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008501/0.5076, allocations: 0.4898 MB / 0.6236 GB, free: 9.922 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.5076, allocations: 8.359 kB / 0.6236 GB, free: 9.914 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.5076, allocations: 8 kB / 0.6236 GB, free: 9.906 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.5077, allocations: 4 kB / 0.6236 GB, free: 9.902 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009461/0.5086, allocations: 203.8 kB / 0.6238 GB, free: 9.703 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003972/0.5126, allocations: 7.325 MB / 0.631 GB, free: 2.098 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003798/0.513, allocations: 63.27 kB / 0.631 GB, free: 2.035 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-05/0.5131, allocations: 23.98 kB / 0.631 GB, free: 2.012 MB / 442.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 () * Number of clocked 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.0003157/0.5134, allocations: 232 kB / 0.6313 GB, free: 1.777 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.874e-05/0.5135, allocations: 43.64 kB / 0.6313 GB, free: 1.734 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001059/0.5145, allocations: 0.5524 MB / 0.6318 GB, free: 1.172 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.5146, allocations: 3.953 kB / 0.6318 GB, free: 1.168 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.5146, allocations: 4 kB / 0.6318 GB, free: 1.164 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/0.5146, allocations: 3.984 kB / 0.6319 GB, free: 1.16 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005564/0.5152, allocations: 429.1 kB / 0.6323 GB, free: 0.6914 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.5152, allocations: 3.984 kB / 0.6323 GB, free: 0.6875 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008614/0.516, allocations: 195.8 kB / 0.6325 GB, free: 0.4961 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.014e-05/0.5161, allocations: 4 kB / 0.6325 GB, free: 0.4922 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.327e-05/0.5161, allocations: 11.98 kB / 0.6325 GB, free: 492 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004327/0.5204, allocations: 7.314 MB / 0.6396 GB, free: 8.883 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.5205, allocations: 0 / 0.6396 GB, free: 8.883 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007904/0.5212, allocations: 0.5073 MB / 0.6401 GB, free: 8.359 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001821/0.5214, allocations: 124.5 kB / 0.6402 GB, free: 8.219 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.639e-05/0.5215, allocations: 8 kB / 0.6402 GB, free: 8.211 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002678/0.5218, allocations: 19.94 kB / 0.6403 GB, free: 8.191 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.15e-05/0.5219, allocations: 19.97 kB / 0.6403 GB, free: 8.172 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.546e-05/0.5219, allocations: 19.98 kB / 0.6403 GB, free: 8.152 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0005057/0.5225, allocations: 383 kB / 0.6407 GB, free: 7.781 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5225, allocations: 0 / 0.6407 GB, free: 7.781 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0005947/0.5231, allocations: 139.8 kB / 0.6408 GB, free: 7.645 MB / 458.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 () * Number of clocked 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.001355/0.5244, allocations: 1.135 MB / 0.6419 GB, free: 6.48 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001428/0.5259, allocations: 0.4961 MB / 0.6424 GB, free: 5.984 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.5259, allocations: 0 / 0.6424 GB, free: 5.984 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009365/0.5268, allocations: 307.6 kB / 0.6427 GB, free: 5.684 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004256/0.5273, allocations: 89.78 kB / 0.6428 GB, free: 5.598 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005391/0.5327, allocations: 5.013 MB / 0.6477 GB, free: 492 kB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004996/0.5332, allocations: 0.9014 MB / 0.6485 GB, free: 15.55 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0003008/0.5335, allocations: 136.1 kB / 0.6487 GB, free: 15.41 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002288/0.5338, allocations: 143.4 kB / 0.6488 GB, free: 15.27 MB / 474.7 MB Notification: Performance of SimCode: time 7.21e-07/0.5338, allocations: 0 / 0.6488 GB, free: 15.27 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03015/0.5639, allocations: 12.76 MB / 0.6613 GB, free: 2.836 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002329/0.5642, allocations: 256 kB / 0.6615 GB, free: 2.5 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.353/2.917, allocations: 0 / 0.6615 GB, free: 2.5 MB / 474.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC_res.mat does not exist to compare? outputFormat=mat