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.General.kc_approxForcedConvection.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.General.kc_approxForcedConvection,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001813/0.001813, allocations: 122.2 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00191/0.00191, allocations: 206 kB / 18.74 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 227.4 MB / 247 MB, free: 10.46 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.225/0.225, allocations: 46.11 MB / 344.3 MB, free: 11.44 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.002167/0.002167, allocations: 75.86 kB / 480.9 MB, free: 4.461 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.3507, allocations: 62.45 MB / 0.5306 GB, free: 13.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.003843/0.3546, allocations: 2.085 MB / 0.5327 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002538/0.3572, allocations: 1.325 MB / 0.534 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001535/0.3574, allocations: 2.594 kB / 0.534 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003491/0.3578, allocations: 76.7 kB / 0.534 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002154/0.358, allocations: 75.89 kB / 0.5341 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007502/0.3588, allocations: 202.6 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005554/0.3593, allocations: 435 kB / 0.5347 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.937e-05/0.3594, allocations: 52.33 kB / 0.5348 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003187/0.3598, allocations: 151.9 kB / 0.5349 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002565/0.36, allocations: 182.4 kB / 0.5351 GB, free: 9.953 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.046e-05/0.3601, allocations: 12.38 kB / 0.5351 GB, free: 9.953 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005728/0.3607, allocations: 259.8 kB / 0.5353 GB, free: 9.824 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001289/0.3608, allocations: 92.34 kB / 0.5354 GB, free: 9.758 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002048/0.361, allocations: 165.6 kB / 0.5356 GB, free: 9.648 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008041/0.3618, allocations: 0.5212 MB / 0.5361 GB, free: 9.324 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.3618, allocations: 0 / 0.5361 GB, free: 9.324 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.3619, allocations: 0 / 0.5361 GB, free: 9.324 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.128e-05/0.3619, allocations: 0 / 0.5361 GB, free: 9.324 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001304/0.3632, allocations: 0.7338 MB / 0.5368 GB, free: 8.695 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.3632, allocations: 10.12 kB / 0.5368 GB, free: 8.695 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001026/0.3633, allocations: 82.59 kB / 0.5369 GB, free: 8.621 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004307/0.3638, allocations: 78.23 kB / 0.537 GB, free: 8.586 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004355/0.3642, allocations: 285.4 kB / 0.5372 GB, free: 8.316 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.003e-05/0.3643, allocations: 31.56 kB / 0.5373 GB, free: 8.301 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.531e-05/0.3643, allocations: 35.97 kB / 0.5373 GB, free: 8.289 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009666/0.3653, allocations: 0.5618 MB / 0.5379 GB, free: 7.957 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.3653, allocations: 4.969 kB / 0.5379 GB, free: 7.953 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.795e-05/0.3654, allocations: 15.09 kB / 0.5379 GB, free: 7.941 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.654e-05/0.3654, allocations: 16.22 kB / 0.5379 GB, free: 7.941 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008239/0.3663, allocations: 415.1 kB / 0.5383 GB, free: 7.75 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001843/0.3681, allocations: 1.282 MB / 0.5395 GB, free: 6.805 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000545/0.3687, allocations: 277.8 kB / 0.5398 GB, free: 6.645 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003305/0.369, allocations: 141.1 kB / 0.5399 GB, free: 6.57 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.518e-05/0.3691, allocations: 11.25 kB / 0.5399 GB, free: 6.562 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.3691, allocations: 44.62 kB / 0.54 GB, free: 6.512 MB / 398.1 MB Notification: Performance of pre-optimization done (n=17): time 1.903e-06/0.3691, allocations: 1.312 kB / 0.54 GB, free: 6.512 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.00123/0.3704, allocations: 464.2 kB / 0.5404 GB, free: 6.305 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.619e-05/0.3704, allocations: 108.7 kB / 0.5405 GB, free: 6.176 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000567/0.371, allocations: 0.4927 MB / 0.541 GB, free: 5.895 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.879e-05/0.3711, allocations: 34.77 kB / 0.5411 GB, free: 5.855 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001767/0.3712, allocations: 201.4 kB / 0.5412 GB, free: 5.672 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.58e-05/0.3713, allocations: 67.3 kB / 0.5413 GB, free: 5.613 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001293/0.3715, allocations: 63.56 kB / 0.5414 GB, free: 5.574 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001921/0.3717, allocations: 359.2 kB / 0.5417 GB, free: 5.227 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000333/0.372, allocations: 130.5 kB / 0.5418 GB, free: 5.172 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003993/0.3724, allocations: 221.7 kB / 0.542 GB, free: 5.008 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007413/0.3732, allocations: 370.7 kB / 0.5424 GB, free: 4.781 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.3732, allocations: 1.531 kB / 0.5424 GB, free: 4.781 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009022/0.3741, allocations: 421.8 kB / 0.5428 GB, free: 4.582 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.56e-05/0.3741, allocations: 9.75 kB / 0.5428 GB, free: 4.578 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.669e-05/0.3742, allocations: 36.58 kB / 0.5428 GB, free: 4.566 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.3742, allocations: 4.531 kB / 0.5429 GB, free: 4.566 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001995/0.3744, allocations: 31.81 kB / 0.5429 GB, free: 4.555 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/0.3744, allocations: 7.938 kB / 0.5429 GB, free: 4.551 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002944/0.3747, allocations: 56.48 kB / 0.5429 GB, free: 4.516 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.523e-05/0.3748, allocations: 17.03 kB / 0.543 GB, free: 4.512 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 9 (m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0002307/0.375, allocations: 201.7 kB / 0.5432 GB, free: 4.348 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.3751, allocations: 44.88 kB / 0.5432 GB, free: 4.32 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008499/0.376, allocations: 402.8 kB / 0.5436 GB, free: 4.016 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/0.376, allocations: 4 kB / 0.5436 GB, free: 4.012 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.376, allocations: 0 / 0.5436 GB, free: 4.012 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.376, allocations: 0 / 0.5436 GB, free: 4.012 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005857/0.3766, allocations: 373.2 kB / 0.5439 GB, free: 3.598 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-05/0.3767, allocations: 31.98 kB / 0.544 GB, free: 3.566 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001494/0.3768, allocations: 27.91 kB / 0.544 GB, free: 3.539 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.3769, allocations: 0 / 0.544 GB, free: 3.539 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.686e-05/0.3769, allocations: 12 kB / 0.544 GB, free: 3.527 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/0.3769, allocations: 0 / 0.544 GB, free: 3.527 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.523e-06/0.3769, allocations: 15.92 kB / 0.544 GB, free: 3.512 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009016/0.3778, allocations: 0.575 MB / 0.5446 GB, free: 2.922 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/0.3779, allocations: 120.9 kB / 0.5447 GB, free: 2.785 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.234e-05/0.378, allocations: 12 kB / 0.5447 GB, free: 2.773 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002627/0.3783, allocations: 11.98 kB / 0.5447 GB, free: 2.762 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.764e-05/0.3784, allocations: 23.97 kB / 0.5447 GB, free: 2.738 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.658e-05/0.3784, allocations: 12 kB / 0.5448 GB, free: 2.727 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004494/0.3789, allocations: 363.1 kB / 0.5451 GB, free: 2.375 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3789, allocations: 0 / 0.5451 GB, free: 2.375 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000575/0.3794, allocations: 123.7 kB / 0.5452 GB, free: 2.254 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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.001534/0.381, allocations: 1.209 MB / 0.5464 GB, free: 1.02 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009666/0.382, allocations: 0.5419 MB / 0.5469 GB, free: 432 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.382, allocations: 0 / 0.5469 GB, free: 432 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005562/0.3826, allocations: 400 kB / 0.5473 GB, free: 15.97 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000672/0.3832, allocations: 89.39 kB / 0.5474 GB, free: 15.89 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006516/0.3898, allocations: 4.669 MB / 0.552 GB, free: 11.06 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004915/0.3903, allocations: 0.8497 MB / 0.5528 GB, free: 10.18 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000196/0.3905, allocations: 67.22 kB / 0.5529 GB, free: 10.12 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001629/0.3907, allocations: 115.4 kB / 0.553 GB, free: 10.01 MB / 414.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3907, allocations: 0 / 0.553 GB, free: 10.01 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03756/0.4282, allocations: 11.91 MB / 0.5646 GB, free: 14.32 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.631/9.059, allocations: 12.83 kB / 0.5646 GB, free: 14.3 MB / 430.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe 2>&1)