Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.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.StraightPipe.kc_laminar,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar",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.001528/0.001528, allocations: 96.28 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.001876/0.001876, allocations: 179.2 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.847/1.847, 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.4252/0.4252, allocations: 43.55 MB / 314.5 MB, free: 9.051 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.0007217/0.0007218, allocations: 12 kB / 384 MB, free: 8.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1289, allocations: 58.86 MB / 442.9 MB, free: 13.19 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.002349/0.1312, allocations: 1.788 MB / 444.7 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001528/0.1328, allocations: 1.026 MB / 445.7 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.102e-05/0.1329, allocations: 3.938 kB / 445.7 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002796/0.1332, allocations: 63.7 kB / 445.8 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001465/0.1333, allocations: 71.73 kB / 445.8 MB, free: 10.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003834/0.1337, allocations: 147.6 kB / 446 MB, free: 10.08 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003324/0.1341, allocations: 331.3 kB / 446.3 MB, free: 9.754 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.201e-05/0.1342, allocations: 60.97 kB / 446.4 MB, free: 9.688 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000215/0.1344, allocations: 151.3 kB / 446.5 MB, free: 9.539 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001998/0.1346, allocations: 167.3 kB / 446.7 MB, free: 9.375 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.109e-05/0.1346, allocations: 12 kB / 446.7 MB, free: 9.363 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004385/0.1351, allocations: 323.6 kB / 447 MB, free: 9.047 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.1352, allocations: 87.7 kB / 447.1 MB, free: 8.961 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.388e-05/0.1353, allocations: 89.45 kB / 447.2 MB, free: 8.867 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004008/0.1357, allocations: 359.1 kB / 447.5 MB, free: 8.516 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.1357, allocations: 0 / 447.5 MB, free: 8.516 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1357, allocations: 0 / 447.5 MB, free: 8.516 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.1357, allocations: 0 / 447.5 MB, free: 8.516 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001205/0.1369, allocations: 0.6978 MB / 448.2 MB, free: 7.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.073e-05/0.137, allocations: 19.94 kB / 448.2 MB, free: 7.75 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001058/0.1371, allocations: 90.53 kB / 448.3 MB, free: 7.652 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.786e-05/0.1372, allocations: 51.38 kB / 448.4 MB, free: 7.602 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004701/0.1377, allocations: 290.4 kB / 448.7 MB, free: 7.277 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.406e-05/0.1377, allocations: 37 kB / 448.7 MB, free: 7.238 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.41e-05/0.1378, allocations: 40 kB / 448.7 MB, free: 7.199 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001135/0.1389, allocations: 0.6636 MB / 449.4 MB, free: 6.516 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.139, allocations: 0 / 449.4 MB, free: 6.516 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.489e-05/0.139, allocations: 16 kB / 449.4 MB, free: 6.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-05/0.1391, allocations: 21 kB / 449.4 MB, free: 6.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009636/0.14, allocations: 0.5073 MB / 449.9 MB, free: 5.973 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002262/0.1423, allocations: 1.535 MB / 451.5 MB, free: 4.375 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006268/0.143, allocations: 315.5 kB / 451.8 MB, free: 4.039 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.032e-05/0.143, allocations: 11.98 kB / 451.8 MB, free: 4.027 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.847e-05/0.1431, allocations: 34.55 kB / 451.8 MB, free: 3.984 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.964e-06/0.1431, allocations: 0 / 451.8 MB, free: 3.984 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.001589/0.1447, allocations: 0.7581 MB / 452.6 MB, free: 3.164 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.092e-05/0.1448, allocations: 106.8 kB / 452.7 MB, free: 3.035 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007255/0.1455, allocations: 0.5448 MB / 453.2 MB, free: 2.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.696e-05/0.1456, allocations: 29.64 kB / 453.3 MB, free: 2.445 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002098/0.1458, allocations: 231.9 kB / 453.5 MB, free: 2.215 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.954e-05/0.1459, allocations: 63.02 kB / 453.5 MB, free: 2.152 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.349e-05/0.1459, allocations: 8 kB / 453.6 MB, free: 2.145 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0003216/0.1462, allocations: 362.8 kB / 453.9 MB, free: 1.781 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003656/0.1466, allocations: 168 kB / 454.1 MB, free: 1.617 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004798/0.1471, allocations: 291.1 kB / 454.4 MB, free: 1.281 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004255/0.1475, allocations: 203.8 kB / 454.6 MB, free: 1.082 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.1475, allocations: 0 / 454.6 MB, free: 1.082 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001059/0.1486, allocations: 0.516 MB / 455.1 MB, free: 0.5586 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.869e-05/0.1486, allocations: 8 kB / 455.1 MB, free: 0.5508 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.111e-05/0.1487, allocations: 40.41 kB / 455.1 MB, free: 0.5117 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.754e-05/0.1488, allocations: 12 kB / 455.1 MB, free: 0.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003127/0.1491, allocations: 47.95 kB / 455.2 MB, free: 464 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.918e-05/0.1491, allocations: 11.89 kB / 455.2 MB, free: 452 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003753/0.1495, allocations: 79.25 kB / 455.3 MB, free: 372 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.67e-05/0.1496, allocations: 20 kB / 455.3 MB, free: 352 kB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (33): * Single equations (assignments): 21 * 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.000334/0.1499, allocations: 221.6 kB / 455.5 MB, free: 120 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.15, allocations: 35.53 kB / 455.5 MB, free: 84 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2427/0.3927, allocations: 462.8 kB / 456 MB, free: 46.46 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.316e-05/0.3928, allocations: 5.516 kB / 456 MB, free: 46.46 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/0.3928, allocations: 2.562 kB / 456 MB, free: 46.46 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.3928, allocations: 3.5 kB / 456 MB, free: 46.46 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007563/0.3936, allocations: 391.7 kB / 456.4 MB, free: 46.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.285e-05/0.3936, allocations: 34.12 kB / 456.4 MB, free: 46.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001765/0.3938, allocations: 32.69 kB / 456.4 MB, free: 46.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.3938, allocations: 1.062 kB / 456.5 MB, free: 46.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.803e-05/0.3939, allocations: 13.84 kB / 456.5 MB, free: 46.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.84e-06/0.3939, allocations: 1.719 kB / 456.5 MB, free: 46.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.3939, allocations: 5.594 kB / 456.5 MB, free: 46.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008232/0.3947, allocations: 0.6545 MB / 457.1 MB, free: 45.96 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/0.3948, allocations: 131 kB / 457.3 MB, free: 45.85 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.351e-05/0.3949, allocations: 3.25 kB / 457.3 MB, free: 45.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002845/0.3952, allocations: 22.7 kB / 457.3 MB, free: 45.85 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.775e-05/0.3953, allocations: 22.66 kB / 457.3 MB, free: 45.85 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.251e-05/0.3953, allocations: 22.94 kB / 457.3 MB, free: 45.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003799/0.3957, allocations: 390.5 kB / 457.7 MB, free: 45.76 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3957, allocations: 0 / 457.7 MB, free: 45.76 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005858/0.3963, allocations: 129.2 kB / 457.8 MB, free: 45.76 MB / 382.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.001206/0.3975, allocations: 1.382 MB / 459.2 MB, free: 44.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009157/0.3984, allocations: 0.6866 MB / 459.9 MB, free: 44.39 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3985, allocations: 3.938 kB / 459.9 MB, free: 44.39 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000417/0.3989, allocations: 485.8 kB / 460.4 MB, free: 44.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005672/0.3995, allocations: 112.5 kB / 460.5 MB, free: 44.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004756/0.4042, allocations: 5.654 MB / 466.1 MB, free: 40.58 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/0.4046, allocations: 0.8777 MB / 467 MB, free: 39.88 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002567/0.4048, allocations: 86.06 kB / 467.1 MB, free: 39.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001649/0.405, allocations: 113.1 kB / 467.2 MB, free: 39.86 MB / 382.1 MB Notification: Performance of SimCode: time 1.673e-06/0.405, allocations: 0 / 467.2 MB, free: 39.86 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02399/0.429, allocations: 11.82 MB / 479 MB, free: 38.86 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000166/0.4292, allocations: 225.9 kB / 479.3 MB, free: 38.61 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.007/2.437, allocations: 3.953 kB / 479.3 MB, free: 38.61 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.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.StraightPipe.kc_laminar_res.mat does not exist to compare? outputFormat=mat