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.StraightPipe.kc_laminar.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.StraightPipe.kc_laminar,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001734/0.001734, allocations: 121.1 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00214/0.002141, allocations: 204.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.439/1.439, allocations: 227.4 MB / 247 MB, free: 10.4 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.2288/0.2288, allocations: 46.12 MB / 344.4 MB, free: 11.43 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.002174/0.002174, allocations: 79.86 kB / 480.9 MB, free: 4.473 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3821/0.3843, allocations: 62.44 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.003696/0.3881, allocations: 2.226 MB / 0.5328 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002046/0.3901, allocations: 1.175 MB / 0.5339 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001195/0.3903, allocations: 2.75 kB / 0.534 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003097/0.3906, allocations: 72.12 kB / 0.534 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002368/0.3909, allocations: 96.8 kB / 0.5341 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005603/0.3914, allocations: 191.7 kB / 0.5343 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005636/0.392, allocations: 0.4918 MB / 0.5348 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.193e-05/0.3921, allocations: 61.98 kB / 0.5348 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000268/0.3924, allocations: 172.2 kB / 0.535 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002505/0.3926, allocations: 202.7 kB / 0.5352 GB, free: 9.941 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.088e-05/0.3927, allocations: 13.75 kB / 0.5352 GB, free: 9.941 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005441/0.3932, allocations: 332.9 kB / 0.5355 GB, free: 9.738 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001278/0.3934, allocations: 101.3 kB / 0.5356 GB, free: 9.668 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002139/0.3936, allocations: 183 kB / 0.5358 GB, free: 9.551 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008603/0.3945, allocations: 0.5986 MB / 0.5364 GB, free: 9.156 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3945, allocations: 0 / 0.5364 GB, free: 9.156 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3945, allocations: 0 / 0.5364 GB, free: 9.156 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.684e-06/0.3945, allocations: 5.062 kB / 0.5364 GB, free: 9.152 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001397/0.3959, allocations: 0.7594 MB / 0.5371 GB, free: 8.516 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.396, allocations: 9.719 kB / 0.5371 GB, free: 8.516 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001208/0.3961, allocations: 98.08 kB / 0.5372 GB, free: 8.43 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004021/0.3965, allocations: 88.47 kB / 0.5373 GB, free: 8.387 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004134/0.3969, allocations: 308.1 kB / 0.5376 GB, free: 8.105 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.436e-05/0.397, allocations: 31.53 kB / 0.5376 GB, free: 8.094 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.493e-05/0.397, allocations: 49.09 kB / 0.5377 GB, free: 8.074 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/0.3982, allocations: 0.6474 MB / 0.5383 GB, free: 7.707 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.3982, allocations: 7.938 kB / 0.5383 GB, free: 7.699 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.366e-05/0.3982, allocations: 20.19 kB / 0.5383 GB, free: 7.684 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.45e-05/0.3983, allocations: 21.91 kB / 0.5384 GB, free: 7.68 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009612/0.3992, allocations: 490.6 kB / 0.5388 GB, free: 7.461 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002127/0.4014, allocations: 1.518 MB / 0.5403 GB, free: 6.34 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006064/0.402, allocations: 300.3 kB / 0.5406 GB, free: 6.172 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003584/0.4024, allocations: 145.7 kB / 0.5407 GB, free: 6.102 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.523e-05/0.4024, allocations: 8.484 kB / 0.5407 GB, free: 6.098 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/0.4025, allocations: 40.75 kB / 0.5408 GB, free: 6.051 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 1.803e-06/0.4025, allocations: 0 / 0.5408 GB, free: 6.051 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.001333/0.4038, allocations: 0.5018 MB / 0.5413 GB, free: 5.824 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.217e-05/0.4039, allocations: 110.6 kB / 0.5414 GB, free: 5.695 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006344/0.4046, allocations: 0.5434 MB / 0.5419 GB, free: 5.383 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.018e-05/0.4046, allocations: 26.83 kB / 0.5419 GB, free: 5.352 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001971/0.4048, allocations: 236.4 kB / 0.5422 GB, free: 5.137 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.846e-05/0.4049, allocations: 73.22 kB / 0.5422 GB, free: 5.074 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001381/0.405, allocations: 84.92 kB / 0.5423 GB, free: 5.02 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001841/0.4052, allocations: 351.6 kB / 0.5426 GB, free: 4.68 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003696/0.4056, allocations: 162.9 kB / 0.5428 GB, free: 4.613 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004631/0.4061, allocations: 279.2 kB / 0.5431 GB, free: 4.391 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008327/0.4069, allocations: 446.4 kB / 0.5435 GB, free: 4.102 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.4069, allocations: 1.156 kB / 0.5435 GB, free: 4.102 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001076/0.408, allocations: 0.5032 MB / 0.544 GB, free: 3.617 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.408, allocations: 8 kB / 0.544 GB, free: 3.609 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.396e-05/0.4081, allocations: 39.98 kB / 0.544 GB, free: 3.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.366e-05/0.4081, allocations: 11.94 kB / 0.544 GB, free: 3.559 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002199/0.4084, allocations: 43.83 kB / 0.5441 GB, free: 3.516 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.4084, allocations: 8 kB / 0.5441 GB, free: 3.508 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003555/0.4087, allocations: 67.5 kB / 0.5442 GB, free: 3.441 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.185e-05/0.4088, allocations: 28.11 kB / 0.5442 GB, free: 3.414 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,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 (33): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0002592/0.4091, allocations: 221.5 kB / 0.5444 GB, free: 3.188 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/0.4092, allocations: 39.72 kB / 0.5444 GB, free: 3.148 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009129/0.4101, allocations: 449 kB / 0.5449 GB, free: 2.703 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.671e-05/0.4101, allocations: 4 kB / 0.5449 GB, free: 2.699 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.4101, allocations: 0 / 0.5449 GB, free: 2.699 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.4101, allocations: 4 kB / 0.5449 GB, free: 2.695 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006366/0.4108, allocations: 397.3 kB / 0.5453 GB, free: 2.258 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.924e-05/0.4109, allocations: 32 kB / 0.5453 GB, free: 2.227 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001442/0.411, allocations: 23.97 kB / 0.5453 GB, free: 2.203 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.411, allocations: 4 kB / 0.5453 GB, free: 2.199 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.413e-05/0.4111, allocations: 19.92 kB / 0.5453 GB, free: 2.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/0.4111, allocations: 7.938 kB / 0.5453 GB, free: 2.172 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.4111, allocations: 0 / 0.5453 GB, free: 2.172 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009716/0.4121, allocations: 0.6058 MB / 0.5459 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001491/0.4122, allocations: 124.8 kB / 0.546 GB, free: 1.41 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.344e-05/0.4123, allocations: 3.938 kB / 0.546 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002888/0.4126, allocations: 27.97 kB / 0.5461 GB, free: 1.379 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.939e-05/0.4127, allocations: 19.98 kB / 0.5461 GB, free: 1.359 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.137e-05/0.4127, allocations: 15.98 kB / 0.5461 GB, free: 1.344 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004686/0.4132, allocations: 395 kB / 0.5465 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.376e-06/0.4132, allocations: 0 / 0.5465 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005871/0.4138, allocations: 139.7 kB / 0.5466 GB, free: 0.8281 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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.00149/0.4153, allocations: 1.204 MB / 0.5478 GB, free: 15.6 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001103/0.4164, allocations: 0.6684 MB / 0.5484 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.4164, allocations: 0 / 0.5484 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005906/0.417, allocations: 483.3 kB / 0.5489 GB, free: 14.31 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007265/0.4177, allocations: 129.5 kB / 0.549 GB, free: 14.19 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00748/0.4252, allocations: 5.185 MB / 0.5541 GB, free: 8.797 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005311/0.4258, allocations: 0.8736 MB / 0.5549 GB, free: 7.895 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002374/0.426, allocations: 91.28 kB / 0.555 GB, free: 7.805 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001758/0.4262, allocations: 119.4 kB / 0.5552 GB, free: 7.688 MB / 414.1 MB Notification: Performance of SimCode: time 6.81e-07/0.4262, allocations: 0 / 0.5552 GB, free: 7.688 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03854/0.4648, allocations: 13.08 MB / 0.5679 GB, free: 10.84 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.449/8.914, allocations: 11.91 kB / 0.5679 GB, free: 10.82 MB / 430.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1)