Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4_1_0-beta_om_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_4_1_0-beta_om_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.001452/0.001452, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00133/0.00133, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.451/1.451, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2222/0.2222, allocations: 46.12 MB / 344.2 MB, free: 11.57 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00243/0.00243, allocations: 76.58 kB / 417.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1305, allocations: 62.45 MB / 480.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC): time 0.003256/0.1338, allocations: 1.705 MB / 481.9 MB, free: 3.406 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001281/0.1351, allocations: 0.7556 MB / 482.7 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.034e-05/0.1352, allocations: 0 / 482.7 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000237/0.1355, allocations: 39.81 kB / 482.7 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002834/0.1357, allocations: 59.72 kB / 482.8 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001961/0.136, allocations: 59.75 kB / 482.9 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002256/0.1362, allocations: 155.3 kB / 483 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.324e-05/0.1362, allocations: 9.406 kB / 483 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.824e-05/0.1364, allocations: 67.7 kB / 483.1 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001547/0.1365, allocations: 75.72 kB / 483.2 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.115e-05/0.1365, allocations: 4 kB / 483.2 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001649/0.1367, allocations: 67.83 kB / 483.2 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.565e-05/0.1368, allocations: 51.81 kB / 483.3 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.427e-05/0.1369, allocations: 55.61 kB / 483.3 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002985/0.1372, allocations: 175.7 kB / 483.5 MB, free: 1.836 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.1372, allocations: 4 kB / 483.5 MB, free: 1.832 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.867e-06/0.1372, allocations: 0 / 483.5 MB, free: 1.832 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.1372, allocations: 7.938 kB / 483.5 MB, free: 1.824 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.0006894/0.1379, allocations: 458.8 kB / 484 MB, free: 1.328 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.138, allocations: 8.031 kB / 484 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.023e-05/0.138, allocations: 50.73 kB / 484 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005474/0.1386, allocations: 76.59 kB / 484.1 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002793/0.1389, allocations: 222.6 kB / 484.3 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.1389, allocations: 8.375 kB / 484.3 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.319e-05/0.1389, allocations: 8.375 kB / 484.3 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005122/0.1395, allocations: 267.9 kB / 484.6 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.1395, allocations: 0 / 484.6 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.541e-05/0.1395, allocations: 7.938 kB / 484.6 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.529e-05/0.1395, allocations: 15.98 kB / 484.6 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005353/0.1401, allocations: 243.7 kB / 484.8 MB, free: 392 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001357/0.1415, allocations: 0.6525 MB / 485.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000462/0.1419, allocations: 226.3 kB / 485.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002028/0.1422, allocations: 80.83 kB / 485.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.745e-05/0.1422, allocations: 4 kB / 485.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.538e-05/0.1422, allocations: 38.55 kB / 485.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 3.717e-06/0.1423, allocations: 3.984 kB / 485.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007732/0.143, allocations: 281.2 kB / 486.1 MB, free: 15.03 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.384e-05/0.1431, allocations: 59.41 kB / 486.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002756/0.1434, allocations: 234.1 kB / 486.4 MB, free: 14.72 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.597e-05/0.1434, allocations: 25.7 kB / 486.4 MB, free: 14.69 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.1436, allocations: 123.9 kB / 486.6 MB, free: 14.56 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.609e-05/0.1436, allocations: 51.28 kB / 486.6 MB, free: 14.51 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.533e-05/0.1437, allocations: 37.69 kB / 486.6 MB, free: 14.47 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002109/0.1439, allocations: 330.8 kB / 487 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001993/0.1441, allocations: 79.91 kB / 487 MB, free: 14.06 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002228/0.1444, allocations: 111.3 kB / 487.2 MB, free: 13.94 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000441/0.1448, allocations: 205.4 kB / 487.4 MB, free: 13.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.1448, allocations: 112 / 487.4 MB, free: 13.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005543/0.1454, allocations: 253.2 kB / 487.6 MB, free: 13.47 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.1454, allocations: 4 kB / 487.6 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.1454, allocations: 4 kB / 487.6 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.1455, allocations: 0 / 487.6 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002447/0.1479, allocations: 267.6 kB / 487.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01093/0.1589, allocations: 9.245 MB / 497.1 MB, free: 3.117 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002684/0.1592, allocations: 28.02 kB / 497.1 MB, free: 3.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.916e-05/0.1592, allocations: 8 kB / 497.1 MB, free: 3.082 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 (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001755/0.1594, allocations: 145.7 kB / 497.3 MB, free: 2.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.101e-05/0.1594, allocations: 15.81 kB / 497.3 MB, free: 2.914 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005385/0.16, allocations: 246.8 kB / 497.5 MB, free: 2.664 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.16, allocations: 0 / 497.5 MB, free: 2.664 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-06/0.16, allocations: 0 / 497.5 MB, free: 2.664 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.16, allocations: 0 / 497.5 MB, free: 2.664 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002835/0.1603, allocations: 245.4 kB / 497.8 MB, free: 2.375 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1603, allocations: 0 / 497.8 MB, free: 2.375 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001706/0.162, allocations: 223.7 kB / 498 MB, free: 2.156 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.162, allocations: 0 / 498 MB, free: 2.156 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.1621, allocations: 0 / 498 MB, free: 2.156 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008456/0.1705, allocations: 8.748 MB / 0.4949 GB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1705, allocations: 0 / 0.4949 GB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005203/0.1711, allocations: 302.5 kB / 0.4952 GB, free: 8.273 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.144e-05/0.1712, allocations: 96.84 kB / 0.4953 GB, free: 8.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.024e-05/0.1712, allocations: 8.062 kB / 0.4953 GB, free: 8.152 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002038/0.1714, allocations: 19.98 kB / 0.4953 GB, free: 8.133 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.445e-05/0.1715, allocations: 15.97 kB / 0.4953 GB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/0.1715, allocations: 7.938 kB / 0.4953 GB, free: 8.109 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002044/0.1717, allocations: 187.1 kB / 0.4955 GB, free: 7.926 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1718, allocations: 0 / 0.4955 GB, free: 7.926 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004679/0.1722, allocations: 64 kB / 0.4955 GB, free: 7.863 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 (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009347/0.1732, allocations: 0.8292 MB / 0.4964 GB, free: 7.008 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002185/0.1754, allocations: 0.6152 MB / 0.497 GB, free: 6.391 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.1754, allocations: 0 / 0.497 GB, free: 6.391 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001348/0.1767, allocations: 412.4 kB / 0.4973 GB, free: 5.992 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003552/0.1771, allocations: 35.92 kB / 0.4974 GB, free: 5.957 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00432/0.1814, allocations: 2.537 MB / 0.4999 GB, free: 3.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004843/0.1819, allocations: 0.7558 MB / 0.5006 GB, free: 2.539 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003971/0.1823, allocations: 117.4 kB / 0.5007 GB, free: 2.426 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000254/0.1826, allocations: 93.89 kB / 0.5008 GB, free: 2.336 MB / 382.1 MB Notification: Performance of SimCode: time 7.42e-07/0.1826, allocations: 0 / 0.5008 GB, free: 2.336 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2206/0.4033, allocations: 10.15 MB / 0.5107 GB, free: 41.39 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.288/8.691, allocations: 5.938 kB / 0.5107 GB, free: 41.39 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe 2>&1)