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_evenGapLaminar_KC.conf.json 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/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC,fileNamePrefix="ModelicaTest_3_2_3_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009784/0.0009782, allocations: 97.22 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009911/0.0009913, allocations: 175.8 kB / 16.57 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.6/1.6, allocations: 205.4 MB / 222.7 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4332/0.4332, allocations: 43.54 MB / 314.5 MB, free: 9.008 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005613/0.0005615, allocations: 16 kB / 384 MB, free: 8.137 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1388, allocations: 58.86 MB / 442.9 MB, free: 13.17 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC): time 0.002399/0.1413, allocations: 1.752 MB / 444.6 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001393/0.1427, allocations: 0.8508 MB / 445.5 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.166e-05/0.1428, allocations: 0 / 445.5 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002606/0.1431, allocations: 59.66 kB / 445.5 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003013/0.1434, allocations: 111.6 kB / 445.6 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002096/0.1436, allocations: 71.86 kB / 445.7 MB, free: 10.31 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003542/0.1439, allocations: 315.3 kB / 446 MB, free: 10 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.68e-05/0.144, allocations: 64.98 kB / 446.1 MB, free: 9.934 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001976/0.1443, allocations: 143.3 kB / 446.2 MB, free: 9.793 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000226/0.1445, allocations: 175.2 kB / 446.4 MB, free: 9.621 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.155e-05/0.1445, allocations: 12 kB / 446.4 MB, free: 9.609 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003023/0.1448, allocations: 183.8 kB / 446.6 MB, free: 9.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.731e-05/0.1449, allocations: 99.62 kB / 446.7 MB, free: 9.332 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.815e-05/0.145, allocations: 89.45 kB / 446.8 MB, free: 9.238 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003748/0.1454, allocations: 339.3 kB / 447.1 MB, free: 8.906 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.1454, allocations: 0 / 447.1 MB, free: 8.906 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1454, allocations: 0 / 447.1 MB, free: 8.906 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.1454, allocations: 4 kB / 447.1 MB, free: 8.902 MB / 382.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.001046/0.1465, allocations: 0.6743 MB / 447.8 MB, free: 8.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.1465, allocations: 12.03 kB / 447.8 MB, free: 8.168 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001182/0.1467, allocations: 102.5 kB / 447.9 MB, free: 8.059 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.272e-05/0.1468, allocations: 55.3 kB / 447.9 MB, free: 8.004 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004229/0.1472, allocations: 295 kB / 448.2 MB, free: 7.676 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.33e-05/0.1472, allocations: 40.98 kB / 448.3 MB, free: 7.633 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.641e-05/0.1473, allocations: 44 kB / 448.3 MB, free: 7.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001054/0.1484, allocations: 0.7108 MB / 449 MB, free: 6.871 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.1484, allocations: 3.938 kB / 449 MB, free: 6.867 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.392e-05/0.1484, allocations: 20 kB / 449.1 MB, free: 6.848 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-05/0.1485, allocations: 53.27 kB / 449.1 MB, free: 6.797 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001165/0.1497, allocations: 0.7506 MB / 449.9 MB, free: 6.047 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002245/0.1519, allocations: 1.461 MB / 451.3 MB, free: 4.531 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007916/0.1527, allocations: 464.4 kB / 451.8 MB, free: 4.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.565e-05/0.1528, allocations: 12.2 kB / 451.8 MB, free: 4.059 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.1528, allocations: 42.67 kB / 451.8 MB, free: 4.008 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 2.104e-06/0.1529, allocations: 0 / 451.8 MB, free: 4.008 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.0012/0.1541, allocations: 0.5492 MB / 452.4 MB, free: 3.453 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.1541, allocations: 51.41 kB / 452.4 MB, free: 3.391 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000628/0.1548, allocations: 0.529 MB / 453 MB, free: 2.852 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.481e-05/0.1548, allocations: 29.64 kB / 453 MB, free: 2.816 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002046/0.155, allocations: 228.5 kB / 453.2 MB, free: 2.59 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.1551, allocations: 102.5 kB / 453.3 MB, free: 2.488 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.036e-05/0.1552, allocations: 8 kB / 453.3 MB, free: 2.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001937/0.1554, allocations: 362.8 kB / 453.7 MB, free: 2.117 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003132/0.1557, allocations: 156.5 kB / 453.8 MB, free: 1.961 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000352/0.156, allocations: 256.2 kB / 454.1 MB, free: 1.672 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003427/0.1564, allocations: 196 kB / 454.3 MB, free: 1.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.1564, allocations: 0 / 454.3 MB, free: 1.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008414/0.1572, allocations: 0.5005 MB / 454.8 MB, free: 0.9727 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.1573, allocations: 4 kB / 454.8 MB, free: 0.9688 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.1573, allocations: 4.375 kB / 454.8 MB, free: 0.9648 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.543e-05/0.1573, allocations: 12 kB / 454.8 MB, free: 0.9531 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000976/0.1583, allocations: 203.8 kB / 455 MB, free: 0.7539 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2535/0.4119, allocations: 7.313 MB / 462.3 MB, free: 39.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004328/0.4123, allocations: 60.95 kB / 462.4 MB, free: 39.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.794e-05/0.4124, allocations: 24.98 kB / 462.4 MB, free: 39.89 MB / 382.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 () * 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.00031/0.4127, allocations: 227 kB / 462.6 MB, free: 39.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.925e-05/0.4128, allocations: 47.92 kB / 462.6 MB, free: 39.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009826/0.4138, allocations: 0.5589 MB / 463.2 MB, free: 39.71 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.4138, allocations: 3.531 kB / 463.2 MB, free: 39.71 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.4138, allocations: 3.625 kB / 463.2 MB, free: 39.71 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.4138, allocations: 0 / 463.2 MB, free: 39.71 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004803/0.4143, allocations: 432 kB / 463.6 MB, free: 39.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.4143, allocations: 0 / 463.6 MB, free: 39.51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008143/0.4151, allocations: 202.8 kB / 463.8 MB, free: 39.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.4151, allocations: 0 / 463.8 MB, free: 39.51 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.518e-05/0.4152, allocations: 10.39 kB / 463.8 MB, free: 39.51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002332/0.4175, allocations: 7.314 MB / 471.2 MB, free: 32.48 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4175, allocations: 0 / 471.2 MB, free: 32.48 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006597/0.4182, allocations: 0.5157 MB / 471.7 MB, free: 32.33 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.833e-05/0.4183, allocations: 125.4 kB / 471.8 MB, free: 32.21 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.348e-05/0.4184, allocations: 2.375 kB / 471.8 MB, free: 32.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002319/0.4186, allocations: 20.3 kB / 471.8 MB, free: 32.21 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.629e-05/0.4187, allocations: 22.06 kB / 471.8 MB, free: 32.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.107e-05/0.4187, allocations: 14.27 kB / 471.9 MB, free: 32.21 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003924/0.4191, allocations: 386.9 kB / 472.2 MB, free: 32.13 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.4191, allocations: 0 / 472.2 MB, free: 32.13 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004452/0.4196, allocations: 137 kB / 472.4 MB, free: 32.12 MB / 382.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 () * 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.0009729/0.4205, allocations: 1.095 MB / 473.5 MB, free: 31.42 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001366/0.4219, allocations: 0.5385 MB / 474 MB, free: 31.4 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.4219, allocations: 4.5 kB / 474 MB, free: 31.4 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009427/0.4229, allocations: 359.8 kB / 474.4 MB, free: 31.39 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003785/0.4233, allocations: 84.5 kB / 474.4 MB, free: 31.38 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004041/0.4273, allocations: 5.053 MB / 479.5 MB, free: 28.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/0.4277, allocations: 0.9067 MB / 480.4 MB, free: 27.96 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003081/0.428, allocations: 129.8 kB / 480.5 MB, free: 27.94 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001707/0.4281, allocations: 143.6 kB / 480.7 MB, free: 27.93 MB / 382.1 MB Notification: Performance of SimCode: time 6.32e-07/0.4282, allocations: 0 / 480.7 MB, free: 27.93 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02689/0.4551, allocations: 12.01 MB / 492.7 MB, free: 26.96 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002643/0.4554, allocations: 254.6 kB / 492.9 MB, free: 26.62 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.144/2.6, allocations: 0 / 492.9 MB, free: 26.62 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC_res.mat does not exist to compare? outputFormat=mat