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.0009036/0.0009037, allocations: 88.19 kB / 15.7 MB, free: 460 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.00122/0.00122, allocations: 174.3 kB / 16.58 MB, free: 6.84 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.325/1.325, allocations: 205.4 MB / 222.8 MB, free: 5.652 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.3431/0.3431, allocations: 43.55 MB / 314.6 MB, free: 9.023 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.0004989/0.000499, allocations: 15.98 kB / 384 MB, free: 8.129 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.117, allocations: 58.86 MB / 442.9 MB, free: 13.16 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar): time 0.002302/0.1193, allocations: 1.608 MB / 444.5 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001723/0.1211, allocations: 1.065 MB / 445.6 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001171/0.1212, allocations: 0 / 445.6 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002183/0.1214, allocations: 55.72 kB / 445.6 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002379/0.1217, allocations: 91.48 kB / 445.7 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004137/0.1221, allocations: 139.5 kB / 445.9 MB, free: 10.19 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007046/0.1228, allocations: 0.5133 MB / 446.4 MB, free: 9.672 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.1229, allocations: 57.02 kB / 446.4 MB, free: 9.617 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002174/0.1232, allocations: 155.2 kB / 446.6 MB, free: 9.465 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003291/0.1235, allocations: 199.1 kB / 446.8 MB, free: 9.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.089e-05/0.1236, allocations: 8 kB / 446.8 MB, free: 9.262 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004586/0.124, allocations: 259.5 kB / 447 MB, free: 9.008 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001242/0.1242, allocations: 99.5 kB / 447.1 MB, free: 8.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001068/0.1243, allocations: 89.45 kB / 447.2 MB, free: 8.816 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004886/0.1248, allocations: 403.1 kB / 447.6 MB, free: 8.422 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.1248, allocations: 0 / 447.6 MB, free: 8.422 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.1248, allocations: 0 / 447.6 MB, free: 8.422 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.506e-05/0.1248, allocations: 0 / 447.6 MB, free: 8.422 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.0009282/0.1257, allocations: 0.6397 MB / 448.3 MB, free: 7.734 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.1258, allocations: 8.031 kB / 448.3 MB, free: 7.727 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001325/0.1259, allocations: 102.5 kB / 448.4 MB, free: 7.617 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001093/0.126, allocations: 47.39 kB / 448.4 MB, free: 7.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004236/0.1265, allocations: 294.3 kB / 448.7 MB, free: 7.242 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.006e-05/0.1265, allocations: 37.31 kB / 448.7 MB, free: 7.207 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.26e-05/0.1266, allocations: 51.98 kB / 448.8 MB, free: 7.156 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/0.1276, allocations: 0.6272 MB / 449.4 MB, free: 6.523 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.1277, allocations: 0 / 449.4 MB, free: 6.523 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.342e-05/0.1277, allocations: 20 kB / 449.4 MB, free: 6.504 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.635e-05/0.1278, allocations: 37.3 kB / 449.5 MB, free: 6.469 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008709/0.1287, allocations: 0.5007 MB / 450 MB, free: 5.965 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002639/0.1313, allocations: 1.406 MB / 451.4 MB, free: 4.504 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007397/0.1321, allocations: 446 kB / 451.8 MB, free: 4.059 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002342/0.1323, allocations: 140.8 kB / 451.9 MB, free: 3.918 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.523e-05/0.1324, allocations: 11.94 kB / 452 MB, free: 3.906 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.1324, allocations: 38.56 kB / 452 MB, free: 3.859 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.724e-06/0.1324, allocations: 0 / 452 MB, free: 3.859 MB / 382.1 MB Notification: Performance of matching and sorting (n=25): time 0.000915/0.1333, allocations: 0.4969 MB / 452.5 MB, free: 3.355 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.1334, allocations: 55.34 kB / 452.5 MB, free: 3.289 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006314/0.134, allocations: 0.5407 MB / 453.1 MB, free: 2.738 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.114e-05/0.1341, allocations: 33.7 kB / 453.1 MB, free: 2.699 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000166/0.1342, allocations: 216.2 kB / 453.3 MB, free: 2.484 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.641e-05/0.1343, allocations: 94.67 kB / 453.4 MB, free: 2.391 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.107e-05/0.1344, allocations: 4 kB / 453.4 MB, free: 2.387 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.1345, allocations: 354.8 kB / 453.8 MB, free: 2.031 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002728/0.1348, allocations: 160.2 kB / 453.9 MB, free: 1.871 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003501/0.1352, allocations: 252.7 kB / 454.2 MB, free: 1.582 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000355/0.1355, allocations: 193.2 kB / 454.4 MB, free: 1.395 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.1356, allocations: 4 kB / 454.4 MB, free: 1.391 MB / 382.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008788/0.1364, allocations: 0.5023 MB / 454.9 MB, free: 0.8828 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.1365, allocations: 8 kB / 454.9 MB, free: 0.875 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-05/0.1366, allocations: 47.91 kB / 454.9 MB, free: 0.8281 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/0.1366, allocations: 8 kB / 454.9 MB, free: 0.8203 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001888/0.1368, allocations: 32.33 kB / 455 MB, free: 0.7891 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.418e-05/0.1368, allocations: 12 kB / 455 MB, free: 0.7773 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002594/0.1371, allocations: 55.28 kB / 455 MB, free: 0.7227 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.778e-05/0.1371, allocations: 27.98 kB / 455.1 MB, free: 0.6953 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.0003207/0.1375, allocations: 221.7 kB / 455.3 MB, free: 480 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.59e-05/0.1376, allocations: 43.48 kB / 455.3 MB, free: 436 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2305/0.3681, allocations: 0.5386 MB / 455.9 MB, free: 46.3 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.574e-05/0.3681, allocations: 6.391 kB / 455.9 MB, free: 46.3 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.3681, allocations: 3 kB / 455.9 MB, free: 46.3 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/0.3681, allocations: 0 / 455.9 MB, free: 46.3 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006974/0.3689, allocations: 420.5 kB / 456.3 MB, free: 46.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.547e-05/0.3689, allocations: 40.91 kB / 456.3 MB, free: 46.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001533/0.3691, allocations: 24.8 kB / 456.3 MB, free: 46.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/0.3691, allocations: 5.625 kB / 456.3 MB, free: 46.11 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.715e-05/0.3691, allocations: 17.02 kB / 456.4 MB, free: 46.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.3691, allocations: 5.219 kB / 456.4 MB, free: 46.11 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3692, allocations: 3.234 kB / 456.4 MB, free: 46.11 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008766/0.37, allocations: 0.7073 MB / 457.1 MB, free: 45.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.336e-05/0.3701, allocations: 125.7 kB / 457.2 MB, free: 45.89 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.229e-05/0.3702, allocations: 3.688 kB / 457.2 MB, free: 45.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001597/0.3704, allocations: 13.48 kB / 457.2 MB, free: 45.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.87e-05/0.3704, allocations: 24.81 kB / 457.2 MB, free: 45.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.893e-05/0.3705, allocations: 17.44 kB / 457.3 MB, free: 45.89 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003528/0.3708, allocations: 398.8 kB / 457.6 MB, free: 45.8 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3708, allocations: 6.625 kB / 457.7 MB, free: 45.8 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004811/0.3713, allocations: 139.8 kB / 457.8 MB, free: 45.8 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.001147/0.3725, allocations: 1.307 MB / 459.1 MB, free: 45.13 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000658/0.3731, allocations: 0.6744 MB / 459.8 MB, free: 44.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.3731, allocations: 2.625 kB / 459.8 MB, free: 44.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002918/0.3734, allocations: 489.4 kB / 460.3 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.0004855/0.3739, allocations: 87.95 kB / 460.3 MB, free: 44.38 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003998/0.3779, allocations: 3.334 MB / 463.7 MB, free: 43.51 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002906/0.3782, allocations: 0.8795 MB / 464.6 MB, free: 42.81 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002337/0.3785, allocations: 117.6 kB / 464.7 MB, free: 42.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001496/0.3786, allocations: 137.4 kB / 464.8 MB, free: 42.79 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3786, allocations: 0 / 464.8 MB, free: 42.79 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02355/0.4022, allocations: 11.88 MB / 476.7 MB, free: 41.82 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001486/0.4024, allocations: 238 kB / 476.9 MB, free: 41.58 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.071/2.474, allocations: 0 / 476.9 MB, free: 41.58 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