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.001234/0.001234, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001301/0.001301, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.394/1.394, allocations: 227.4 MB / 247 MB, free: 10.41 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.2237/0.2237, allocations: 46.12 MB / 344.3 MB, free: 11.46 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.002621/0.002621, allocations: 79.86 kB / 480.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.358/0.3607, allocations: 62.45 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.003678/0.3644, allocations: 2.217 MB / 0.5328 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002103/0.3665, allocations: 1.177 MB / 0.534 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001239/0.3667, allocations: 2.75 kB / 0.534 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003236/0.367, allocations: 74.64 kB / 0.534 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002529/0.3673, allocations: 93.25 kB / 0.5341 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005808/0.3679, allocations: 195.6 kB / 0.5343 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006004/0.3685, allocations: 0.4919 MB / 0.5348 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.3686, allocations: 53.56 kB / 0.5348 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003005/0.3689, allocations: 181.5 kB / 0.535 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002773/0.3692, allocations: 197.8 kB / 0.5352 GB, free: 9.922 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.925e-05/0.3692, allocations: 13.75 kB / 0.5352 GB, free: 9.922 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006111/0.3699, allocations: 336.3 kB / 0.5355 GB, free: 9.715 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001369/0.37, allocations: 101.5 kB / 0.5356 GB, free: 9.645 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002328/0.3703, allocations: 186.8 kB / 0.5358 GB, free: 9.523 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008572/0.3711, allocations: 0.5913 MB / 0.5364 GB, free: 9.137 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.3711, allocations: 0 / 0.5364 GB, free: 9.137 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3711, allocations: 1.062 kB / 0.5364 GB, free: 9.137 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.685e-06/0.3712, allocations: 3.938 kB / 0.5364 GB, free: 9.133 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.001351/0.3725, allocations: 0.7668 MB / 0.5371 GB, free: 8.488 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.3726, allocations: 10.44 kB / 0.5371 GB, free: 8.488 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001636/0.3727, allocations: 97.58 kB / 0.5372 GB, free: 8.402 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004/0.3731, allocations: 79.92 kB / 0.5373 GB, free: 8.367 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004784/0.3736, allocations: 305.6 kB / 0.5376 GB, free: 8.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.625e-05/0.3737, allocations: 34.69 kB / 0.5376 GB, free: 8.074 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.125e-05/0.3738, allocations: 49.38 kB / 0.5377 GB, free: 8.055 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001118/0.3749, allocations: 0.6509 MB / 0.5383 GB, free: 7.684 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.3749, allocations: 1.469 kB / 0.5383 GB, free: 7.684 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.07e-05/0.3749, allocations: 15.22 kB / 0.5383 GB, free: 7.672 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.285e-05/0.375, allocations: 30.39 kB / 0.5384 GB, free: 7.66 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009132/0.3759, allocations: 481.1 kB / 0.5388 GB, free: 7.449 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002124/0.3781, allocations: 1.527 MB / 0.5403 GB, free: 6.32 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006136/0.3787, allocations: 296.8 kB / 0.5406 GB, free: 6.156 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003528/0.3791, allocations: 152.2 kB / 0.5407 GB, free: 6.078 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.173e-05/0.3791, allocations: 5.656 kB / 0.5407 GB, free: 6.078 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/0.3792, allocations: 40.75 kB / 0.5408 GB, free: 6.031 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 1.954e-06/0.3792, allocations: 0 / 0.5408 GB, free: 6.031 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.001297/0.3805, allocations: 0.4981 MB / 0.5413 GB, free: 5.809 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.941e-05/0.3806, allocations: 109.4 kB / 0.5414 GB, free: 5.68 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006474/0.3812, allocations: 0.5405 MB / 0.5419 GB, free: 5.371 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.331e-05/0.3813, allocations: 30.86 kB / 0.5419 GB, free: 5.336 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002525/0.3815, allocations: 239.9 kB / 0.5422 GB, free: 5.117 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.058e-05/0.3816, allocations: 73.36 kB / 0.5422 GB, free: 5.055 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001419/0.3817, allocations: 81.05 kB / 0.5423 GB, free: 5.004 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000177/0.3819, allocations: 359.7 kB / 0.5427 GB, free: 4.656 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003807/0.3823, allocations: 150.9 kB / 0.5428 GB, free: 4.602 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004695/0.3828, allocations: 279 kB / 0.5431 GB, free: 4.379 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008748/0.3837, allocations: 452.2 kB / 0.5435 GB, free: 4.082 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.3837, allocations: 1.375 kB / 0.5435 GB, free: 4.082 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001061/0.3848, allocations: 0.4975 MB / 0.544 GB, free: 3.625 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.3848, allocations: 8.531 kB / 0.544 GB, free: 3.617 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-05/0.3849, allocations: 39.98 kB / 0.544 GB, free: 3.578 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.3849, allocations: 11.94 kB / 0.544 GB, free: 3.566 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002351/0.3852, allocations: 47.89 kB / 0.5441 GB, free: 3.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.455e-05/0.3852, allocations: 4 kB / 0.5441 GB, free: 3.516 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003899/0.3856, allocations: 75.44 kB / 0.5442 GB, free: 3.441 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.521e-05/0.3856, allocations: 23.98 kB / 0.5442 GB, free: 3.418 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.0002889/0.3859, allocations: 217.5 kB / 0.5444 GB, free: 3.195 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/0.386, allocations: 43.72 kB / 0.5444 GB, free: 3.152 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009683/0.387, allocations: 453 kB / 0.5449 GB, free: 2.703 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/0.387, allocations: 4 kB / 0.5449 GB, free: 2.699 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.387, allocations: 0 / 0.5449 GB, free: 2.699 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.3871, allocations: 0 / 0.5449 GB, free: 2.699 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007174/0.3878, allocations: 389.3 kB / 0.5452 GB, free: 2.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.43e-05/0.3879, allocations: 39.98 kB / 0.5453 GB, free: 2.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001646/0.388, allocations: 31.97 kB / 0.5453 GB, free: 2.199 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.388, allocations: 4 kB / 0.5453 GB, free: 2.195 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.674e-05/0.3881, allocations: 15.94 kB / 0.5453 GB, free: 2.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/0.3881, allocations: 7.938 kB / 0.5453 GB, free: 2.172 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3881, allocations: 0 / 0.5453 GB, free: 2.172 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009793/0.3891, allocations: 0.5996 MB / 0.5459 GB, free: 1.555 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001648/0.3893, allocations: 120.8 kB / 0.546 GB, free: 1.418 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.537e-05/0.3893, allocations: 11.94 kB / 0.546 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000278/0.3896, allocations: 15.97 kB / 0.5461 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.3897, allocations: 23.98 kB / 0.5461 GB, free: 1.367 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.928e-05/0.3898, allocations: 15.98 kB / 0.5461 GB, free: 1.352 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005025/0.3903, allocations: 403 kB / 0.5465 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3903, allocations: 0 / 0.5465 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006224/0.3909, allocations: 131.8 kB / 0.5466 GB, free: 0.8359 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.001632/0.3926, allocations: 1.222 MB / 0.5478 GB, free: 15.59 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001204/0.3938, allocations: 0.6648 MB / 0.5485 GB, free: 14.85 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.082e-06/0.3938, allocations: 4.125 kB / 0.5485 GB, free: 14.85 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006609/0.3945, allocations: 488.2 kB / 0.5489 GB, free: 14.3 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007984/0.3953, allocations: 116.2 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.008223/0.4035, allocations: 5.183 MB / 0.5541 GB, free: 8.797 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000544/0.4041, allocations: 0.8698 MB / 0.5549 GB, free: 7.898 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000269/0.4044, allocations: 79.34 kB / 0.555 GB, free: 7.82 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001837/0.4046, allocations: 131.3 kB / 0.5551 GB, free: 7.691 MB / 414.1 MB Notification: Performance of SimCode: time 1.403e-06/0.4046, allocations: 0 / 0.5551 GB, free: 7.691 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03846/0.443, allocations: 13.08 MB / 0.5679 GB, free: 10.84 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.595/9.038, allocations: 18.84 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.000404 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)