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_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 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_turbulent,fileNamePrefix="ModelicaTest_4_1_0-beta_om_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_4_1_0-beta_om_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.001367/0.001367, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001458/0.001458, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.421/1.421, allocations: 227.4 MB / 247 MB, free: 10.43 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.2232/0.2232, allocations: 46.12 MB / 344.4 MB, free: 11.45 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.002259/0.002259, allocations: 79.88 kB / 480.9 MB, free: 4.492 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.3111, allocations: 62.44 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent): time 0.003025/0.3142, allocations: 1.831 MB / 0.5324 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001585/0.3158, allocations: 1.034 MB / 0.5334 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.903e-05/0.3159, allocations: 1.188 kB / 0.5334 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002148/0.3161, allocations: 36.42 kB / 0.5335 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002248/0.3163, allocations: 75.17 kB / 0.5335 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003793/0.3167, allocations: 141.5 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002798/0.317, allocations: 202.4 kB / 0.5339 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.062e-05/0.3171, allocations: 16.31 kB / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001946/0.3173, allocations: 95.5 kB / 0.534 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001626/0.3174, allocations: 102.1 kB / 0.5341 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.945e-05/0.3175, allocations: 8.719 kB / 0.5341 GB, free: 10.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002689/0.3177, allocations: 138.3 kB / 0.5342 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.568e-05/0.3178, allocations: 49.75 kB / 0.5342 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001058/0.3179, allocations: 89.58 kB / 0.5343 GB, free: 10.56 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003813/0.3183, allocations: 261.5 kB / 0.5346 GB, free: 10.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.3183, allocations: 0 / 0.5346 GB, free: 10.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3184, allocations: 1.375 kB / 0.5346 GB, free: 10.41 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.3184, allocations: 0 / 0.5346 GB, free: 10.41 MB / 398.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.0009898/0.3194, allocations: 0.5244 MB / 0.5351 GB, free: 9.914 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.3194, allocations: 9.625 kB / 0.5351 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.699e-05/0.3195, allocations: 52.23 kB / 0.5352 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003471/0.3198, allocations: 55 kB / 0.5352 GB, free: 9.836 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002727/0.3201, allocations: 232.4 kB / 0.5354 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.3201, allocations: 12.67 kB / 0.5354 GB, free: 9.586 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.92e-05/0.3202, allocations: 11.88 kB / 0.5354 GB, free: 9.582 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005268/0.3207, allocations: 274 kB / 0.5357 GB, free: 9.398 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.3207, allocations: 1.062 kB / 0.5357 GB, free: 9.398 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.118e-05/0.3207, allocations: 4.594 kB / 0.5357 GB, free: 9.395 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.677e-05/0.3208, allocations: 11.11 kB / 0.5357 GB, free: 9.395 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005703/0.3213, allocations: 229.2 kB / 0.5359 GB, free: 9.293 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001102/0.3225, allocations: 0.8065 MB / 0.5367 GB, free: 8.586 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004263/0.3229, allocations: 197.3 kB / 0.5369 GB, free: 8.449 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002656/0.3232, allocations: 100.8 kB / 0.537 GB, free: 8.391 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.023e-05/0.3232, allocations: 6.562 kB / 0.537 GB, free: 8.387 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.3233, allocations: 35.97 kB / 0.5371 GB, free: 8.344 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.774e-06/0.3233, allocations: 1.375 kB / 0.5371 GB, free: 8.344 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009471/0.3242, allocations: 320 kB / 0.5374 GB, free: 8.188 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.769e-05/0.3243, allocations: 107.8 kB / 0.5375 GB, free: 8.059 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002815/0.3246, allocations: 265.5 kB / 0.5377 GB, free: 7.879 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.3246, allocations: 25.7 kB / 0.5377 GB, free: 7.848 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001161/0.3247, allocations: 133.3 kB / 0.5379 GB, free: 7.723 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.836e-05/0.3248, allocations: 37.44 kB / 0.5379 GB, free: 7.691 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.394e-05/0.3249, allocations: 47.28 kB / 0.538 GB, free: 7.652 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.325, allocations: 332.8 kB / 0.5383 GB, free: 7.324 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002754/0.3253, allocations: 94.23 kB / 0.5384 GB, free: 7.285 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002879/0.3256, allocations: 133.4 kB / 0.5385 GB, free: 7.195 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005773/0.3262, allocations: 225.5 kB / 0.5387 GB, free: 7.066 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3262, allocations: 0.6562 kB / 0.5387 GB, free: 7.066 MB / 398.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006573/0.3269, allocations: 274 kB / 0.539 GB, free: 6.934 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.3269, allocations: 8.344 kB / 0.539 GB, free: 6.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.514e-05/0.3269, allocations: 15.19 kB / 0.539 GB, free: 6.922 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.327, allocations: 6.766 kB / 0.539 GB, free: 6.918 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002288/0.3272, allocations: 41.14 kB / 0.539 GB, free: 6.902 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.3272, allocations: 3.094 kB / 0.539 GB, free: 6.902 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002093/0.3274, allocations: 34.25 kB / 0.5391 GB, free: 6.883 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.731e-05/0.3275, allocations: 13.75 kB / 0.5391 GB, free: 6.875 MB / 398.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001342/0.3276, allocations: 149.2 kB / 0.5392 GB, free: 6.734 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.765e-05/0.3277, allocations: 20.86 kB / 0.5392 GB, free: 6.723 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000483/0.3282, allocations: 225.4 kB / 0.5395 GB, free: 6.59 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.3282, allocations: 2.625 kB / 0.5395 GB, free: 6.59 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3282, allocations: 1.344 kB / 0.5395 GB, free: 6.59 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.3282, allocations: 1.125 kB / 0.5395 GB, free: 6.59 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004231/0.3286, allocations: 262.4 kB / 0.5397 GB, free: 6.332 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.85e-05/0.3287, allocations: 6.812 kB / 0.5397 GB, free: 6.332 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001785/0.3288, allocations: 43.45 kB / 0.5398 GB, free: 6.309 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.3289, allocations: 1.094 kB / 0.5398 GB, free: 6.309 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.3289, allocations: 3.094 kB / 0.5398 GB, free: 6.309 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.3289, allocations: 1.125 kB / 0.5398 GB, free: 6.309 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.3289, allocations: 1.094 kB / 0.5398 GB, free: 6.309 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007108/0.3296, allocations: 493.2 kB / 0.5402 GB, free: 5.926 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.818e-05/0.3297, allocations: 96.42 kB / 0.5403 GB, free: 5.82 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.805e-05/0.3297, allocations: 5.984 kB / 0.5403 GB, free: 5.816 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002664/0.33, allocations: 18.08 kB / 0.5404 GB, free: 5.809 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.614e-05/0.3301, allocations: 17.7 kB / 0.5404 GB, free: 5.797 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.041e-05/0.3301, allocations: 13.23 kB / 0.5404 GB, free: 5.789 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001914/0.3303, allocations: 189.9 kB / 0.5406 GB, free: 5.668 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3303, allocations: 0 / 0.5406 GB, free: 5.668 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004781/0.3308, allocations: 78.25 kB / 0.5406 GB, free: 5.645 MB / 398.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001206/0.332, allocations: 1.054 MB / 0.5417 GB, free: 4.723 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006972/0.3327, allocations: 285.5 kB / 0.5419 GB, free: 4.547 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.3327, allocations: 9.5 kB / 0.5419 GB, free: 4.539 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003943/0.3331, allocations: 178.6 kB / 0.5421 GB, free: 4.406 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005728/0.3337, allocations: 39.27 kB / 0.5422 GB, free: 4.387 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004191/0.3379, allocations: 2.831 MB / 0.5449 GB, free: 2.27 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004325/0.3384, allocations: 0.743 MB / 0.5456 GB, free: 1.543 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001465/0.3385, allocations: 43.59 kB / 0.5457 GB, free: 1.527 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.3387, allocations: 52.05 kB / 0.5457 GB, free: 1.488 MB / 398.1 MB Notification: Performance of SimCode: time 9.11e-07/0.3387, allocations: 1.125 kB / 0.5457 GB, free: 1.488 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02986/0.3685, allocations: 5.946 MB / 0.5515 GB, free: 11.85 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.203/8.571, allocations: 8.547 kB / 0.5516 GB, free: 11.84 MB / 414.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe 2>&1)