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.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,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar",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.001232/0.001232, allocations: 96.67 kB / 15.7 MB, free: 468 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.001526/0.001526, allocations: 176.3 kB / 16.57 MB, free: 6.848 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.449/1.449, allocations: 205.4 MB / 222.7 MB, free: 5.668 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.4333/0.4333, allocations: 43.55 MB / 314.5 MB, free: 8.754 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.0005367/0.0005367, allocations: 14.66 kB / 384 MB, free: 7.918 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1505, allocations: 58.85 MB / 442.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar): time 0.002163/0.1527, allocations: 1.555 MB / 444.4 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00173/0.1545, allocations: 1.034 MB / 445.5 MB, free: 10.35 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.672e-05/0.1546, allocations: 4 kB / 445.5 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002606/0.1549, allocations: 55.66 kB / 445.5 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001989/0.1551, allocations: 75.78 kB / 445.6 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004293/0.1555, allocations: 131.7 kB / 445.7 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004079/0.1559, allocations: 327.2 kB / 446 MB, free: 9.766 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.156, allocations: 49.02 kB / 446.1 MB, free: 9.719 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001452/0.1562, allocations: 143.3 kB / 446.2 MB, free: 9.578 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002233/0.1564, allocations: 155.3 kB / 446.4 MB, free: 9.426 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.385e-05/0.1565, allocations: 8 kB / 446.4 MB, free: 9.418 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004686/0.1569, allocations: 271.6 kB / 446.7 MB, free: 9.152 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.1571, allocations: 87.7 kB / 446.7 MB, free: 9.066 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.351e-05/0.1572, allocations: 89.45 kB / 446.8 MB, free: 8.973 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004967/0.1577, allocations: 359.3 kB / 447.2 MB, free: 8.621 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.1577, allocations: 0 / 447.2 MB, free: 8.621 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1577, allocations: 0 / 447.2 MB, free: 8.621 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.047e-05/0.1577, allocations: 4 kB / 447.2 MB, free: 8.617 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.0009461/0.1587, allocations: 0.6436 MB / 447.8 MB, free: 7.926 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.1587, allocations: 8.031 kB / 447.8 MB, free: 7.918 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001074/0.1588, allocations: 94.52 kB / 447.9 MB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.594e-05/0.1589, allocations: 51.39 kB / 448 MB, free: 7.766 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004756/0.1594, allocations: 301.8 kB / 448.3 MB, free: 7.434 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.999e-05/0.1595, allocations: 33.31 kB / 448.3 MB, free: 7.402 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.526e-05/0.1595, allocations: 48 kB / 448.4 MB, free: 7.355 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009247/0.1605, allocations: 0.6349 MB / 449 MB, free: 6.715 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.1605, allocations: 4 kB / 449 MB, free: 6.711 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.01e-05/0.1605, allocations: 20 kB / 449 MB, free: 6.691 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.882e-05/0.1606, allocations: 33.3 kB / 449 MB, free: 6.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007958/0.1614, allocations: 0.5085 MB / 449.5 MB, free: 6.148 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002516/0.1639, allocations: 1.43 MB / 451 MB, free: 4.664 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000847/0.1648, allocations: 458.1 kB / 451.4 MB, free: 4.207 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.353e-05/0.1648, allocations: 15.92 kB / 451.4 MB, free: 4.191 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.1649, allocations: 34.62 kB / 451.5 MB, free: 4.148 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.883e-06/0.1649, allocations: 0 / 451.5 MB, free: 4.148 MB / 382.1 MB Notification: Performance of matching and sorting (n=25): time 0.0009938/0.1659, allocations: 0.4972 MB / 452 MB, free: 3.645 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/0.1659, allocations: 55.41 kB / 452 MB, free: 3.578 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006515/0.1666, allocations: 0.5446 MB / 452.6 MB, free: 3.023 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.1666, allocations: 25.7 kB / 452.6 MB, free: 2.992 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002249/0.1669, allocations: 224.1 kB / 452.8 MB, free: 2.77 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.167, allocations: 90.75 kB / 452.9 MB, free: 2.68 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.311e-05/0.167, allocations: 4 kB / 452.9 MB, free: 2.676 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002283/0.1672, allocations: 354.8 kB / 453.3 MB, free: 2.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002827/0.1675, allocations: 156.2 kB / 453.4 MB, free: 2.164 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003586/0.1679, allocations: 252.7 kB / 453.7 MB, free: 1.875 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00035/0.1683, allocations: 193.2 kB / 453.8 MB, free: 1.688 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.1683, allocations: 0 / 453.8 MB, free: 1.688 MB / 382.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007688/0.1691, allocations: 0.5023 MB / 454.3 MB, free: 1.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.1691, allocations: 7.984 kB / 454.4 MB, free: 1.172 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.642e-05/0.1692, allocations: 39.97 kB / 454.4 MB, free: 1.133 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.1692, allocations: 4 kB / 454.4 MB, free: 1.129 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001922/0.1694, allocations: 36.33 kB / 454.4 MB, free: 1.094 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.625e-05/0.1694, allocations: 7.984 kB / 454.4 MB, free: 1.086 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002656/0.1697, allocations: 63.28 kB / 454.5 MB, free: 1.023 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.972e-05/0.1698, allocations: 20 kB / 454.5 MB, free: 1.004 MB / 382.1 MB Warning: Assuming fixed start value for the following 1 variables: dimlesslength:VARIABLE(start = 0.01 unit = "m" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (41): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003961/0.1702, allocations: 221.6 kB / 454.7 MB, free: 0.7773 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.165e-05/0.1702, allocations: 47.47 kB / 454.8 MB, free: 0.7305 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000967/0.1712, allocations: 0.548 MB / 455.3 MB, free: 184 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/0.1712, allocations: 4 kB / 455.3 MB, free: 180 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.984e-06/0.1713, allocations: 7.938 kB / 455.3 MB, free: 172 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.1713, allocations: 3.984 kB / 455.3 MB, free: 168 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2697/0.441, allocations: 432.7 kB / 455.8 MB, free: 46.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-05/0.4411, allocations: 32.66 kB / 455.8 MB, free: 46.1 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000173/0.4413, allocations: 25.44 kB / 455.8 MB, free: 46.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.321e-05/0.4413, allocations: 9.719 kB / 455.8 MB, free: 46.1 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.425e-05/0.4413, allocations: 14.69 kB / 455.8 MB, free: 46.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.4414, allocations: 3.781 kB / 455.9 MB, free: 46.1 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.4414, allocations: 0 / 455.9 MB, free: 46.1 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/0.4425, allocations: 0.7063 MB / 456.6 MB, free: 45.97 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001549/0.4426, allocations: 120.2 kB / 456.7 MB, free: 45.88 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.943e-05/0.4427, allocations: 9.766 kB / 456.7 MB, free: 45.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001843/0.4429, allocations: 7.531 kB / 456.7 MB, free: 45.88 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.953e-05/0.443, allocations: 26.06 kB / 456.7 MB, free: 45.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.075e-05/0.443, allocations: 14.5 kB / 456.7 MB, free: 45.88 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004202/0.4434, allocations: 396 kB / 457.1 MB, free: 45.79 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4434, allocations: 0.5312 kB / 457.1 MB, free: 45.79 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005632/0.444, allocations: 149.7 kB / 457.3 MB, free: 45.79 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (dimlesslength) * 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: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001278/0.4453, allocations: 1.307 MB / 458.6 MB, free: 45.13 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007007/0.446, allocations: 0.6741 MB / 459.2 MB, free: 44.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.446, allocations: 0 / 459.2 MB, free: 44.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003425/0.4464, allocations: 486.5 kB / 459.7 MB, free: 44.38 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004437/0.4468, allocations: 85.19 kB / 459.8 MB, free: 44.38 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004647/0.4515, allocations: 5.242 MB / 465 MB, free: 41.56 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003002/0.4518, allocations: 0.8851 MB / 465.9 MB, free: 40.86 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002501/0.452, allocations: 118.1 kB / 466 MB, free: 40.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000163/0.4522, allocations: 139.7 kB / 466.2 MB, free: 40.85 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4522, allocations: 0 / 466.2 MB, free: 40.85 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02433/0.4766, allocations: 11.66 MB / 477.8 MB, free: 39.89 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002003/0.4768, allocations: 223.8 kB / 478.1 MB, free: 39.65 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.049/2.526, allocations: 7.938 kB / 478.1 MB, free: 39.64 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapLaminar.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.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_res.mat does not exist to compare? outputFormat=mat