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_evenGapOverall.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 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 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) 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_evenGapOverall,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall",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.0007398/0.0007398, allocations: 93.62 kB / 17 MB, free: 6.121 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007854/0.0007855, allocations: 183 kB / 17.89 MB, free: 5.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 223.2 MB / 241.9 MB, free: 316 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2076/0.2076, allocations: 44.22 MB / 337.2 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003417/0.0003418, allocations: 8 kB / 409.7 MB, free: 27.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1264, allocations: 61.92 MB / 471.7 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall): time 0.002336/0.1288, allocations: 1.848 MB / 473.5 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002736/0.1315, allocations: 1.855 MB / 475.4 MB, free: 9.863 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.292e-05/0.1316, allocations: 4 kB / 475.4 MB, free: 9.859 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002448/0.1319, allocations: 55.72 kB / 475.4 MB, free: 9.805 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002035/0.1321, allocations: 91.42 kB / 475.5 MB, free: 9.715 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000881/0.133, allocations: 342.4 kB / 475.9 MB, free: 9.383 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006009/0.1336, allocations: 0.5521 MB / 476.4 MB, free: 8.828 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.1337, allocations: 61.05 kB / 476.5 MB, free: 8.762 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002166/0.1339, allocations: 167.1 kB / 476.6 MB, free: 8.598 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000262/0.1342, allocations: 211 kB / 476.8 MB, free: 8.391 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.573e-05/0.1343, allocations: 15.94 kB / 476.9 MB, free: 8.375 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008967/0.1352, allocations: 0.6044 MB / 477.5 MB, free: 7.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001214/0.1353, allocations: 99.52 kB / 477.6 MB, free: 7.672 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.826e-05/0.1354, allocations: 89.45 kB / 477.6 MB, free: 7.578 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005666/0.136, allocations: 0.5222 MB / 478.2 MB, free: 7.055 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.136, allocations: 4 kB / 478.2 MB, free: 7.051 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.136, allocations: 0 / 478.2 MB, free: 7.051 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.136, allocations: 0 / 478.2 MB, free: 7.051 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001139/0.1371, allocations: 0.7351 MB / 478.9 MB, free: 6.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.1372, allocations: 12.03 kB / 478.9 MB, free: 6.258 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001023/0.1373, allocations: 94.52 kB / 479 MB, free: 6.156 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.113e-05/0.1374, allocations: 51.34 kB / 479.1 MB, free: 6.105 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003502/0.1377, allocations: 314.8 kB / 479.4 MB, free: 5.758 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.09e-05/0.1378, allocations: 37 kB / 479.4 MB, free: 5.723 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.851e-05/0.1378, allocations: 51.95 kB / 479.5 MB, free: 5.672 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/0.1389, allocations: 0.6923 MB / 480.1 MB, free: 4.961 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.1389, allocations: 4 kB / 480.1 MB, free: 4.957 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.893e-05/0.139, allocations: 20 kB / 480.2 MB, free: 4.938 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.719e-05/0.139, allocations: 25 kB / 480.2 MB, free: 4.914 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008588/0.1399, allocations: 0.5271 MB / 480.7 MB, free: 4.391 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001766/0.1416, allocations: 1.488 MB / 482.2 MB, free: 2.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005569/0.1422, allocations: 331.8 kB / 482.5 MB, free: 2.488 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003302/0.1426, allocations: 170.6 kB / 482.7 MB, free: 2.312 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.032e-05/0.1426, allocations: 11.94 kB / 482.7 MB, free: 2.301 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.1427, allocations: 42.55 kB / 482.7 MB, free: 2.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 2.194e-06/0.1427, allocations: 0 / 482.7 MB, free: 2.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=23): time 0.001209/0.1439, allocations: 0.5441 MB / 483.3 MB, free: 1.703 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.263e-05/0.1439, allocations: 114.8 kB / 483.4 MB, free: 1.566 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005643/0.1445, allocations: 0.5564 MB / 484 MB, free: 1 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/0.1445, allocations: 29.7 kB / 484 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001563/0.1447, allocations: 244.3 kB / 484.2 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.95e-05/0.1448, allocations: 74.89 kB / 484.3 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.102e-05/0.1448, allocations: 8 kB / 484.3 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.1449, allocations: 362.7 kB / 484.7 MB, free: 284 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003326/0.1453, allocations: 159.9 kB / 484.8 MB, free: 124 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000397/0.1457, allocations: 260.7 kB / 485.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000375/0.1461, allocations: 197.3 kB / 485.3 MB, free: 15.63 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1461, allocations: 0 / 485.3 MB, free: 15.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008948/0.147, allocations: 0.4931 MB / 485.8 MB, free: 15.13 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.147, allocations: 12.03 kB / 485.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.005e-05/0.1471, allocations: 39.98 kB / 485.8 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.1471, allocations: 8 kB / 485.8 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001921/0.1473, allocations: 35.91 kB / 485.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/0.1473, allocations: 11.98 kB / 485.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002717/0.1476, allocations: 71.36 kB / 485.9 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.581e-05/0.1476, allocations: 20 kB / 486 MB, free: 14.93 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (30): * Single equations (assignments): 18 * 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.0002177/0.1479, allocations: 221.6 kB / 486.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.842e-05/0.148, allocations: 47.34 kB / 486.2 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008966/0.1489, allocations: 491.3 kB / 486.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.557e-06/0.1489, allocations: 4 kB / 486.7 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.1489, allocations: 4 kB / 486.7 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.1489, allocations: 0 / 486.7 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000576/0.1495, allocations: 401.2 kB / 487.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-05/0.1496, allocations: 43.98 kB / 487.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001496/0.1497, allocations: 39.89 kB / 487.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.1497, allocations: 4 kB / 487.2 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.779e-05/0.1498, allocations: 15.98 kB / 487.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.1498, allocations: 0 / 487.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.1498, allocations: 3.938 kB / 487.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008731/0.1507, allocations: 0.6538 MB / 487.9 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/0.1508, allocations: 124.5 kB / 488 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.333e-05/0.1509, allocations: 11.98 kB / 488 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002756/0.1512, allocations: 19.98 kB / 488 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.938e-05/0.1512, allocations: 27.97 kB / 488 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.593e-05/0.1513, allocations: 12 kB / 488 MB, free: 12.74 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004518/0.1517, allocations: 410.8 kB / 488.4 MB, free: 12.34 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1517, allocations: 0 / 488.4 MB, free: 12.34 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000623/0.1524, allocations: 171.8 kB / 488.6 MB, free: 12.17 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (17): * Single equations (assignments): 5 * 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.001466/0.1538, allocations: 1.308 MB / 489.9 MB, free: 10.83 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001011/0.1549, allocations: 0.6894 MB / 490.6 MB, free: 10.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1549, allocations: 0 / 490.6 MB, free: 10.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000522/0.1554, allocations: 0.4885 MB / 491.1 MB, free: 9.512 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006551/0.1561, allocations: 94.03 kB / 491.2 MB, free: 9.422 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004807/0.1609, allocations: 3.342 MB / 494.5 MB, free: 5.977 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004734/0.1614, allocations: 0.8782 MB / 495.4 MB, free: 5.074 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002233/0.1616, allocations: 75.34 kB / 495.5 MB, free: 4.996 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001634/0.1618, allocations: 131.4 kB / 495.6 MB, free: 4.867 MB / 366.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1618, allocations: 4 kB / 495.6 MB, free: 4.863 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02506/0.1868, allocations: 12.98 MB / 0.4967 GB, free: 8.156 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001759/0.1871, allocations: 230.1 kB / 0.4969 GB, free: 7.918 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.088/2.275, allocations: 2.969 kB / 0.4969 GB, free: 7.918 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapOverall.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall.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_evenGapOverall_res.mat does not exist to compare? outputFormat=mat