Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.00122/0.001221, allocations: 93.16 kB / 17 MB, free: 6.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001226/0.001226, allocations: 193.9 kB / 17.91 MB, free: 5.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.41/1.41, allocations: 227.4 MB / 246 MB, free: 10.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1942/0.1942, allocations: 45.91 MB / 344.1 MB, free: 12.01 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002881/0.0002882, allocations: 11.94 kB / 418.2 MB, free: 20.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1324, allocations: 63.47 MB / 481.7 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.002507/0.1349, allocations: 1.85 MB / 483.5 MB, free: 3.359 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00171/0.1367, allocations: 1.072 MB / 484.6 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.501e-05/0.1368, allocations: 0 / 484.6 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002233/0.137, allocations: 51.67 kB / 484.6 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002313/0.1372, allocations: 95.48 kB / 484.7 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004731/0.1377, allocations: 151 kB / 484.9 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005888/0.1383, allocations: 0.529 MB / 485.4 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.1384, allocations: 53.06 kB / 485.5 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000279/0.1387, allocations: 163.2 kB / 485.6 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002618/0.139, allocations: 203.1 kB / 485.8 MB, free: 1.051 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.318e-05/0.139, allocations: 8 kB / 485.8 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005338/0.1396, allocations: 319.5 kB / 486.1 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.855e-05/0.1397, allocations: 95.52 kB / 486.2 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.61e-05/0.1398, allocations: 89.45 kB / 486.3 MB, free: 0.543 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004476/0.1402, allocations: 411.1 kB / 486.7 MB, free: 144 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.1403, allocations: 0 / 486.7 MB, free: 144 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1403, allocations: 0 / 486.7 MB, free: 144 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.149e-06/0.1403, allocations: 0 / 486.7 MB, free: 144 kB / 350.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.00105/0.1413, allocations: 0.6939 MB / 487.4 MB, free: 15.4 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.1414, allocations: 12.03 kB / 487.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.662e-05/0.1415, allocations: 90.45 kB / 487.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004206/0.1419, allocations: 95.39 kB / 487.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003901/0.1423, allocations: 294.9 kB / 487.9 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.178e-05/0.1423, allocations: 37 kB / 487.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.325e-05/0.1424, allocations: 44 kB / 488 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009947/0.1434, allocations: 0.6636 MB / 488.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.1434, allocations: 0 / 488.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.501e-05/0.1435, allocations: 20 kB / 488.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.131e-05/0.1435, allocations: 25 kB / 488.7 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009491/0.1445, allocations: 0.4995 MB / 489.2 MB, free: 13.56 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002305/0.1468, allocations: 1.503 MB / 490.7 MB, free: 11.99 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006439/0.1475, allocations: 311.5 kB / 491 MB, free: 11.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003519/0.1478, allocations: 166.4 kB / 491.1 MB, free: 11.49 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.067e-05/0.1479, allocations: 23.92 kB / 491.2 MB, free: 11.46 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.817e-05/0.148, allocations: 34.5 kB / 491.2 MB, free: 11.42 MB / 366.1 MB Notification: Performance of pre-optimization done (n=20): time 2.304e-06/0.148, allocations: 0 / 491.2 MB, free: 11.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.001267/0.1492, allocations: 0.5244 MB / 491.7 MB, free: 10.89 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001325/0.1494, allocations: 106.8 kB / 491.8 MB, free: 10.76 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006749/0.1501, allocations: 0.533 MB / 492.4 MB, free: 10.23 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001652/0.1502, allocations: 41.7 kB / 492.4 MB, free: 10.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001941/0.1504, allocations: 224 kB / 492.6 MB, free: 9.957 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.086e-05/0.1505, allocations: 67 kB / 492.7 MB, free: 9.891 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.015e-05/0.1505, allocations: 4 kB / 492.7 MB, free: 9.887 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.1507, allocations: 366.7 kB / 493.1 MB, free: 9.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003497/0.151, allocations: 164.1 kB / 493.2 MB, free: 9.355 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004718/0.1515, allocations: 293.8 kB / 493.5 MB, free: 9.016 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004898/0.152, allocations: 199.8 kB / 493.7 MB, free: 8.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.152, allocations: 0 / 493.7 MB, free: 8.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001699/0.1538, allocations: 0.5276 MB / 494.2 MB, free: 8.285 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.159e-05/0.1538, allocations: 8 kB / 494.2 MB, free: 8.277 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001107/0.1539, allocations: 39.98 kB / 494.3 MB, free: 8.238 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.806e-05/0.154, allocations: 8 kB / 494.3 MB, free: 8.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003506/0.1543, allocations: 52.38 kB / 494.3 MB, free: 8.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.147e-05/0.1544, allocations: 7.984 kB / 494.3 MB, free: 8.172 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004822/0.1549, allocations: 71.36 kB / 494.4 MB, free: 8.102 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-05/0.1549, allocations: 23.98 kB / 494.4 MB, free: 8.078 MB / 366.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.0003676/0.1553, allocations: 225.5 kB / 494.6 MB, free: 7.848 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.1554, allocations: 39.44 kB / 494.7 MB, free: 7.809 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009428/0.1563, allocations: 459.6 kB / 495.1 MB, free: 7.352 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.368e-06/0.1564, allocations: 4 kB / 495.1 MB, free: 7.348 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.1564, allocations: 0 / 495.1 MB, free: 7.348 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.1564, allocations: 4 kB / 495.1 MB, free: 7.344 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006207/0.157, allocations: 389.2 kB / 495.5 MB, free: 6.914 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.364e-05/0.1571, allocations: 35.98 kB / 495.6 MB, free: 6.879 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001514/0.1572, allocations: 35.91 kB / 495.6 MB, free: 6.844 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.1573, allocations: 0 / 495.6 MB, free: 6.844 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.645e-05/0.1573, allocations: 19.98 kB / 495.6 MB, free: 6.824 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.1573, allocations: 3.938 kB / 495.6 MB, free: 6.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1573, allocations: 0 / 495.6 MB, free: 6.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009031/0.1582, allocations: 0.6306 MB / 496.2 MB, free: 6.172 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001653/0.1584, allocations: 128.5 kB / 496.4 MB, free: 6.027 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.117e-05/0.1585, allocations: 4 kB / 496.4 MB, free: 6.023 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002703/0.1587, allocations: 31.92 kB / 496.4 MB, free: 5.992 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.946e-05/0.1588, allocations: 19.98 kB / 496.4 MB, free: 5.973 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.789e-05/0.1589, allocations: 15.98 kB / 496.4 MB, free: 5.957 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005001/0.1594, allocations: 391 kB / 496.8 MB, free: 5.578 MB / 366.1 MB Notification: Performance of sort global known variables: time 6.81e-07/0.1594, allocations: 7.938 kB / 496.8 MB, free: 5.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006629/0.16, allocations: 135.8 kB / 497 MB, free: 5.438 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.001433/0.1615, allocations: 1.214 MB / 498.2 MB, free: 4.191 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001121/0.1626, allocations: 0.6883 MB / 498.9 MB, free: 3.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.1626, allocations: 0 / 498.9 MB, free: 3.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007597/0.1634, allocations: 499.5 kB / 499.4 MB, free: 2.871 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007854/0.1642, allocations: 108.8 kB / 499.5 MB, free: 2.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005486/0.1697, allocations: 3.141 MB / 0.4908 GB, free: 15.51 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004951/0.1702, allocations: 0.8662 MB / 0.4917 GB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003007/0.1705, allocations: 87.34 kB / 0.4918 GB, free: 14.53 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001647/0.1707, allocations: 127.3 kB / 0.4919 GB, free: 14.41 MB / 382.1 MB Notification: Performance of SimCode: time 1.152e-06/0.1707, allocations: 0 / 0.4919 GB, free: 14.41 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0257/0.1964, allocations: 12.02 MB / 0.5036 GB, free: 2.652 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002506/0.1967, allocations: 224.5 kB / 0.5038 GB, free: 2.418 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.072/2.269, allocations: 0 / 0.5038 GB, free: 2.418 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.mat does not exist to compare? outputFormat=mat