Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.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.Plate.kc_laminar,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_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.001231/0.001231, allocations: 102.2 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001316/0.001316, allocations: 205.1 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 227.3 MB / 245.9 MB, free: 10.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2293/0.2293, allocations: 45.92 MB / 344 MB, free: 12.05 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003442/0.0003443, allocations: 4 kB / 418.1 MB, free: 20.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1456, allocations: 63.46 MB / 481.5 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar): time 0.001916/0.1476, allocations: 1.478 MB / 483 MB, free: 3.715 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001185/0.1488, allocations: 0.8772 MB / 483.9 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.025e-05/0.1489, allocations: 0 / 483.9 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001811/0.1491, allocations: 39.75 kB / 483.9 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001542/0.1492, allocations: 47.86 kB / 484 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002474/0.1495, allocations: 99.36 kB / 484.1 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001795/0.1497, allocations: 127.7 kB / 484.2 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.036e-05/0.1497, allocations: 17.56 kB / 484.2 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001431/0.1499, allocations: 71.75 kB / 484.3 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/0.15, allocations: 79.67 kB / 484.4 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.971e-05/0.15, allocations: 4 kB / 484.4 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002151/0.1503, allocations: 115.9 kB / 484.5 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.472e-05/0.1503, allocations: 51.81 kB / 484.5 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.561e-05/0.1504, allocations: 49.64 kB / 484.6 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002133/0.1506, allocations: 167.8 kB / 484.7 MB, free: 1.977 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.434e-06/0.1506, allocations: 4 kB / 484.8 MB, free: 1.973 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.1506, allocations: 0 / 484.8 MB, free: 1.973 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1506, allocations: 3.938 kB / 484.8 MB, free: 1.969 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0008709/0.1515, allocations: 0.5105 MB / 485.3 MB, free: 1.406 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.1515, allocations: 8.031 kB / 485.3 MB, free: 1.398 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.031e-05/0.1516, allocations: 50.55 kB / 485.3 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003495/0.152, allocations: 59.77 kB / 485.4 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002304/0.1522, allocations: 222.7 kB / 485.6 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.1522, allocations: 12.22 kB / 485.6 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.716e-05/0.1523, allocations: 12 kB / 485.6 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00049/0.1527, allocations: 271.5 kB / 485.9 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.1528, allocations: 0 / 485.9 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.058e-05/0.1528, allocations: 8 kB / 485.9 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.863e-05/0.1528, allocations: 16.16 kB / 485.9 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005533/0.1534, allocations: 244.5 kB / 486.2 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/0.1544, allocations: 0.8217 MB / 487 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003744/0.1548, allocations: 203.6 kB / 487.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.13e-05/0.1548, allocations: 11.98 kB / 487.2 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.1549, allocations: 38.69 kB / 487.2 MB, free: 15.29 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 2.615e-06/0.1549, allocations: 0 / 487.2 MB, free: 15.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009179/0.1558, allocations: 361.2 kB / 487.6 MB, free: 14.93 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.813e-05/0.1559, allocations: 110.8 kB / 487.7 MB, free: 14.79 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002298/0.1561, allocations: 257 kB / 487.9 MB, free: 14.54 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.1561, allocations: 25.7 kB / 488 MB, free: 14.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.92e-05/0.1562, allocations: 135.8 kB / 488.1 MB, free: 14.37 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.944e-05/0.1562, allocations: 39.58 kB / 488.1 MB, free: 14.33 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.179e-05/0.1563, allocations: 0 / 488.1 MB, free: 14.33 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.1564, allocations: 334.8 kB / 488.5 MB, free: 13.99 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002581/0.1566, allocations: 107.9 kB / 488.6 MB, free: 13.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002679/0.1569, allocations: 141 kB / 488.7 MB, free: 13.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002668/0.1572, allocations: 119.8 kB / 488.8 MB, free: 13.61 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1572, allocations: 0 / 488.8 MB, free: 13.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006272/0.1578, allocations: 305.1 kB / 489.1 MB, free: 13.31 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.1579, allocations: 7.984 kB / 489.1 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.217e-05/0.1579, allocations: 8 kB / 489.1 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.1579, allocations: 0 / 489.1 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000234/0.1581, allocations: 52.02 kB / 489.2 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.1582, allocations: 4 kB / 489.2 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002011/0.1584, allocations: 43.72 kB / 489.2 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.99e-05/0.1584, allocations: 7.984 kB / 489.2 MB, free: 13.19 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0001202/0.1585, allocations: 142.3 kB / 489.4 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.208e-05/0.1586, allocations: 27.72 kB / 489.4 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004595/0.1591, allocations: 231.6 kB / 489.6 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.1591, allocations: 4 kB / 489.6 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.1591, allocations: 0 / 489.6 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.1591, allocations: 7.922 kB / 489.6 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003538/0.1595, allocations: 249.5 kB / 489.9 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.47e-05/0.1595, allocations: 15.98 kB / 489.9 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001776/0.1597, allocations: 31.97 kB / 489.9 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.1597, allocations: 4 kB / 489.9 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.1597, allocations: 7.984 kB / 489.9 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1597, allocations: 4 kB / 489.9 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1597, allocations: 0 / 489.9 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006464/0.1604, allocations: 0.5243 MB / 490.5 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.672e-05/0.1605, allocations: 104.8 kB / 490.6 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.585e-05/0.1605, allocations: 0 / 490.6 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002574/0.1608, allocations: 27.98 kB / 490.6 MB, free: 11.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.347e-05/0.1608, allocations: 23.92 kB / 490.6 MB, free: 11.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.1608, allocations: 4 kB / 490.6 MB, free: 11.69 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001522/0.161, allocations: 188.4 kB / 490.8 MB, free: 11.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.161, allocations: 4 kB / 490.8 MB, free: 11.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004065/0.1614, allocations: 64 kB / 490.9 MB, free: 11.43 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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.001049/0.1625, allocations: 1.242 MB / 492.1 MB, free: 10.15 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006357/0.1631, allocations: 313 kB / 492.4 MB, free: 9.828 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1631, allocations: 4.062 kB / 492.4 MB, free: 9.824 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003163/0.1635, allocations: 189.3 kB / 492.6 MB, free: 9.621 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003412/0.1638, allocations: 47.19 kB / 492.7 MB, free: 9.578 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002829/0.1667, allocations: 2.257 MB / 494.9 MB, free: 7.238 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/0.167, allocations: 0.7439 MB / 495.7 MB, free: 6.469 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001147/0.1671, allocations: 49.5 kB / 495.7 MB, free: 6.422 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.613e-05/0.1672, allocations: 51.42 kB / 495.8 MB, free: 6.371 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1672, allocations: 0 / 495.8 MB, free: 6.371 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0159/0.1831, allocations: 5.165 MB / 0.4892 GB, free: 1.398 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001746/0.1833, allocations: 211 kB / 0.4894 GB, free: 1.164 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.917/2.1, allocations: 3.938 kB / 0.4894 GB, free: 1.16 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_res.mat does not exist to compare? outputFormat=mat