Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.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_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001195/0.001195, allocations: 97.25 kB / 16.98 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.001459/0.001459, allocations: 200.6 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.489/1.489, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2154/0.2154, allocations: 45.92 MB / 344 MB, free: 12.1 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002859/0.0002861, allocations: 12 kB / 418.1 MB, free: 20.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1308, allocations: 63.47 MB / 481.5 MB, free: 5.254 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC): time 0.00182/0.1327, allocations: 1.377 MB / 482.9 MB, free: 3.863 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009905/0.1337, allocations: 0.6785 MB / 483.6 MB, free: 3.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.103e-05/0.1337, allocations: 0 / 483.6 MB, free: 3.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001842/0.1339, allocations: 27.89 kB / 483.6 MB, free: 3.152 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001897/0.1341, allocations: 39.86 kB / 483.7 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001441/0.1343, allocations: 51.81 kB / 483.7 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001398/0.1344, allocations: 87.8 kB / 483.8 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.951e-05/0.1345, allocations: 17.39 kB / 483.8 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.415e-05/0.1346, allocations: 39.84 kB / 483.9 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.913e-05/0.1347, allocations: 55.77 kB / 483.9 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.432e-05/0.1347, allocations: 0 / 483.9 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001413/0.1348, allocations: 75.88 kB / 484 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.729e-05/0.1349, allocations: 35.89 kB / 484 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.855e-05/0.1349, allocations: 45.64 kB / 484.1 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001616/0.1351, allocations: 112 kB / 484.2 MB, free: 2.594 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.1351, allocations: 0 / 484.2 MB, free: 2.594 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1351, allocations: 0 / 484.2 MB, free: 2.594 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.1351, allocations: 0 / 484.2 MB, free: 2.594 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.0005354/0.1357, allocations: 442.8 kB / 484.6 MB, free: 2.113 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.1357, allocations: 8.031 kB / 484.6 MB, free: 2.105 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.641e-05/0.1358, allocations: 54.47 kB / 484.7 MB, free: 2.043 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004789/0.1362, allocations: 79.62 kB / 484.7 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002098/0.1365, allocations: 210.8 kB / 485 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.1365, allocations: 8 kB / 485 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.431e-05/0.1365, allocations: 12 kB / 485 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004247/0.1369, allocations: 259.8 kB / 485.2 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.137, allocations: 0 / 485.2 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.946e-05/0.137, allocations: 4 kB / 485.2 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.039e-05/0.137, allocations: 23.97 kB / 485.3 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004805/0.1375, allocations: 252.2 kB / 485.5 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001139/0.1387, allocations: 0.6641 MB / 486.2 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004079/0.1391, allocations: 230.3 kB / 486.4 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.925e-05/0.1391, allocations: 7.984 kB / 486.4 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.1392, allocations: 30.56 kB / 486.4 MB, free: 164 kB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.393e-06/0.1392, allocations: 0 / 486.4 MB, free: 164 kB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007418/0.1399, allocations: 301.5 kB / 486.7 MB, free: 15.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.14, allocations: 55.41 kB / 486.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002355/0.1402, allocations: 226.1 kB / 487 MB, free: 15.56 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.838e-05/0.1402, allocations: 29.7 kB / 487 MB, free: 15.53 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.576e-05/0.1403, allocations: 119.9 kB / 487.1 MB, free: 15.41 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.246e-05/0.1404, allocations: 51.39 kB / 487.2 MB, free: 15.36 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.323e-05/0.1404, allocations: 0 / 487.2 MB, free: 15.36 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.1405, allocations: 334.7 kB / 487.5 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001841/0.1407, allocations: 87.89 kB / 487.6 MB, free: 14.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001912/0.1409, allocations: 115.3 kB / 487.7 MB, free: 14.81 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002356/0.1412, allocations: 99.89 kB / 487.8 MB, free: 14.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1412, allocations: 0 / 487.8 MB, free: 14.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004735/0.1417, allocations: 256.8 kB / 488.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.1417, allocations: 7.984 kB / 488.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.1417, allocations: 112 / 488.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.1417, allocations: 7.938 kB / 488.1 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00231/0.1441, allocations: 267.6 kB / 488.3 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008564/0.1526, allocations: 8.653 MB / 497 MB, free: 4.727 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002583/0.1529, allocations: 27.86 kB / 497 MB, free: 4.699 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.095e-05/0.153, allocations: 7.984 kB / 497 MB, free: 4.691 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001524/0.1531, allocations: 152.5 kB / 497.2 MB, free: 4.535 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.884e-05/0.1532, allocations: 19.77 kB / 497.2 MB, free: 4.516 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004992/0.1537, allocations: 250.8 kB / 497.4 MB, free: 4.266 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.1537, allocations: 4 kB / 497.4 MB, free: 4.262 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-06/0.1537, allocations: 3.938 kB / 497.5 MB, free: 4.258 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.1537, allocations: 3.984 kB / 497.5 MB, free: 4.254 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002447/0.154, allocations: 237.5 kB / 497.7 MB, free: 3.973 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.154, allocations: 0 / 497.7 MB, free: 3.973 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001589/0.1556, allocations: 211.7 kB / 497.9 MB, free: 3.766 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.1556, allocations: 0 / 497.9 MB, free: 3.766 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/0.1556, allocations: 11.94 kB / 497.9 MB, free: 3.754 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007172/0.1628, allocations: 8.168 MB / 0.4942 GB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.1628, allocations: 0 / 0.4942 GB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004984/0.1633, allocations: 299.4 kB / 0.4945 GB, free: 10.49 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.759e-05/0.1634, allocations: 100.8 kB / 0.4946 GB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.928e-05/0.1635, allocations: 4 kB / 0.4946 GB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001911/0.1637, allocations: 8 kB / 0.4946 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.864e-05/0.1638, allocations: 31.89 kB / 0.4946 GB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.1638, allocations: 0 / 0.4946 GB, free: 10.33 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001988/0.164, allocations: 191.1 kB / 0.4948 GB, free: 10.14 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.164, allocations: 4 kB / 0.4948 GB, free: 10.14 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005039/0.1645, allocations: 63.91 kB / 0.4949 GB, free: 10.08 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000778/0.1653, allocations: 0.8371 MB / 0.4957 GB, free: 9.215 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002085/0.1674, allocations: 0.6005 MB / 0.4963 GB, free: 8.617 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.1674, allocations: 7.938 kB / 0.4963 GB, free: 8.609 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001249/0.1687, allocations: 404.8 kB / 0.4967 GB, free: 8.219 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/0.169, allocations: 35.92 kB / 0.4967 GB, free: 8.184 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002491/0.1715, allocations: 1.785 MB / 0.4985 GB, free: 6.328 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003548/0.1718, allocations: 0.7638 MB / 0.4992 GB, free: 5.539 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003983/0.1722, allocations: 117.4 kB / 0.4993 GB, free: 5.426 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001985/0.1724, allocations: 87.36 kB / 0.4994 GB, free: 5.34 MB / 382.1 MB Notification: Performance of SimCode: time 1.343e-06/0.1725, allocations: 0 / 0.4994 GB, free: 5.34 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2424/0.4149, allocations: 9.51 MB / 0.5087 GB, free: 39.7 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001417/0.4151, allocations: 225.3 kB / 0.5089 GB, free: 39.46 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.069/2.484, allocations: 3.812 kB / 0.5089 GB, free: 39.46 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC_res.mat does not exist to compare? outputFormat=mat