Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.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_turbulent,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008873/0.0008876, allocations: 100.6 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009815/0.0009814, allocations: 200.5 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.405/1.405, allocations: 227.3 MB / 245.9 MB, free: 10.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2122/0.2122, allocations: 45.91 MB / 344 MB, free: 12.1 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003819/0.0003823, allocations: 8 kB / 418.1 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1492, allocations: 63.46 MB / 481.5 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent): time 0.002649/0.1519, allocations: 1.482 MB / 483 MB, free: 3.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00154/0.1535, allocations: 0.8851 MB / 483.9 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.483e-05/0.1536, allocations: 0 / 483.9 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002103/0.1538, allocations: 35.77 kB / 483.9 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000192/0.154, allocations: 51.84 kB / 484 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000318/0.1543, allocations: 107.7 kB / 484.1 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001984/0.1545, allocations: 127.7 kB / 484.2 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.891e-05/0.1546, allocations: 13.56 kB / 484.2 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000173/0.1548, allocations: 71.75 kB / 484.3 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001341/0.1549, allocations: 75.73 kB / 484.4 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.407e-05/0.155, allocations: 8 kB / 484.4 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002908/0.1553, allocations: 135.8 kB / 484.5 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.457e-05/0.1553, allocations: 39.89 kB / 484.6 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.954e-05/0.1554, allocations: 57.58 kB / 484.6 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002488/0.1557, allocations: 167.8 kB / 484.8 MB, free: 2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.1557, allocations: 0 / 484.8 MB, free: 2 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.1557, allocations: 0 / 484.8 MB, free: 2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.624e-06/0.1557, allocations: 0 / 484.8 MB, free: 2 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.001038/0.1567, allocations: 0.5066 MB / 485.3 MB, free: 1.441 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.1568, allocations: 12.03 kB / 485.3 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.199e-05/0.1569, allocations: 46.55 kB / 485.3 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003718/0.1572, allocations: 63.77 kB / 485.4 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002661/0.1575, allocations: 214.7 kB / 485.6 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/0.1575, allocations: 12.23 kB / 485.6 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.733e-05/0.1576, allocations: 11.98 kB / 485.6 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005587/0.1581, allocations: 278.6 kB / 485.9 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.1582, allocations: 0 / 485.9 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.353e-05/0.1582, allocations: 4 kB / 485.9 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.098e-05/0.1582, allocations: 12.23 kB / 485.9 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005742/0.1588, allocations: 256.4 kB / 486.2 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001154/0.16, allocations: 0.8217 MB / 487 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004087/0.1604, allocations: 211.5 kB / 487.2 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.353e-05/0.1604, allocations: 3.984 kB / 487.2 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.1605, allocations: 38.56 kB / 487.3 MB, free: 15.31 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.613e-06/0.1605, allocations: 0 / 487.3 MB, free: 15.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.000934/0.1614, allocations: 353.5 kB / 487.6 MB, free: 14.96 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.468e-05/0.1615, allocations: 106.8 kB / 487.7 MB, free: 14.83 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002734/0.1618, allocations: 261 kB / 488 MB, free: 14.57 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/0.1618, allocations: 33.77 kB / 488 MB, free: 14.53 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/0.162, allocations: 131.8 kB / 488.1 MB, free: 14.4 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.377e-05/0.162, allocations: 31.55 kB / 488.1 MB, free: 14.37 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.294e-05/0.162, allocations: 4 kB / 488.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.1622, allocations: 334.8 kB / 488.5 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002664/0.1624, allocations: 103.9 kB / 488.6 MB, free: 13.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002778/0.1627, allocations: 153 kB / 488.7 MB, free: 13.76 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002794/0.163, allocations: 111.9 kB / 488.8 MB, free: 13.65 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.163, allocations: 0 / 488.8 MB, free: 13.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006422/0.1637, allocations: 305 kB / 489.1 MB, free: 13.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.1637, allocations: 8 kB / 489.1 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.391e-05/0.1637, allocations: 7.984 kB / 489.2 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.1637, allocations: 4.625 kB / 489.2 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002483/0.164, allocations: 47.95 kB / 489.2 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.375e-05/0.164, allocations: 0 / 489.2 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002071/0.1642, allocations: 43.72 kB / 489.2 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.488e-05/0.1643, allocations: 11.98 kB / 489.3 MB, free: 13.22 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.0001306/0.1644, allocations: 150.2 kB / 489.4 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.731e-05/0.1645, allocations: 19.72 kB / 489.4 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004905/0.165, allocations: 231.1 kB / 489.6 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.165, allocations: 0 / 489.6 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.165, allocations: 8 kB / 489.7 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.165, allocations: 0 / 489.7 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003961/0.1654, allocations: 257.5 kB / 489.9 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.122e-05/0.1655, allocations: 15.97 kB / 489.9 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001744/0.1656, allocations: 31.97 kB / 490 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.1657, allocations: 0 / 490 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.042e-05/0.1657, allocations: 7.984 kB / 490 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1657, allocations: 7.938 kB / 490 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.1657, allocations: 4 kB / 490 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007275/0.1664, allocations: 0.5166 MB / 490.5 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.422e-05/0.1665, allocations: 100.9 kB / 490.6 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.066e-05/0.1666, allocations: 4 kB / 490.6 MB, free: 11.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002546/0.1668, allocations: 27.97 kB / 490.6 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.94e-05/0.1669, allocations: 11.94 kB / 490.6 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.949e-05/0.1669, allocations: 11.98 kB / 490.6 MB, free: 11.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000199/0.1671, allocations: 192.4 kB / 490.8 MB, free: 11.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1672, allocations: 4 kB / 490.8 MB, free: 11.53 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004581/0.1676, allocations: 68 kB / 490.9 MB, free: 11.46 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.001329/0.169, allocations: 1.242 MB / 492.1 MB, free: 10.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006935/0.1697, allocations: 321 kB / 492.5 MB, free: 9.852 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.1697, allocations: 0 / 492.5 MB, free: 9.852 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003404/0.17, allocations: 193.1 kB / 492.6 MB, free: 9.645 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000373/0.1704, allocations: 36.41 kB / 492.7 MB, free: 9.609 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003155/0.1736, allocations: 2.253 MB / 494.9 MB, free: 7.273 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004004/0.174, allocations: 0.7478 MB / 495.7 MB, free: 6.5 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001372/0.1741, allocations: 45.52 kB / 495.7 MB, free: 6.457 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.1742, allocations: 51.42 kB / 495.8 MB, free: 6.406 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1742, allocations: 0 / 495.8 MB, free: 6.406 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01827/0.1925, allocations: 5.254 MB / 0.4893 GB, free: 1.348 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002161/0.1928, allocations: 226.1 kB / 0.4895 GB, free: 1.102 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.844/2.037, allocations: 0 / 0.4895 GB, free: 1.102 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_res.mat does not exist to compare? outputFormat=mat