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_overall.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_overall,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001306/0.001306, allocations: 121.8 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.001285/0.001285, allocations: 201.2 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.436/1.436, 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.2731/0.2731, 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.002291/0.002291, allocations: 83.86 kB / 480.9 MB, free: 4.473 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.3609, allocations: 62.44 MB / 0.5306 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.003701/0.3646, allocations: 2.281 MB / 0.5329 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003302/0.368, allocations: 2.154 MB / 0.535 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001429/0.3681, allocations: 1.375 kB / 0.535 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003269/0.3685, allocations: 74.77 kB / 0.535 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000297/0.3688, allocations: 113.2 kB / 0.5351 GB, free: 9.957 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001273/0.3701, allocations: 440.1 kB / 0.5356 GB, free: 9.676 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006382/0.3707, allocations: 0.5223 MB / 0.5361 GB, free: 9.379 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.3709, allocations: 64.52 kB / 0.5361 GB, free: 9.352 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002833/0.3711, allocations: 184.4 kB / 0.5363 GB, free: 9.254 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000276/0.3714, allocations: 211.8 kB / 0.5365 GB, free: 9.129 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.241e-05/0.3715, allocations: 17.03 kB / 0.5365 GB, free: 9.125 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001132/0.3726, allocations: 0.6947 MB / 0.5372 GB, free: 8.703 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001235/0.3728, allocations: 101.5 kB / 0.5373 GB, free: 8.633 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002265/0.373, allocations: 212.6 kB / 0.5375 GB, free: 8.492 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001114/0.3741, allocations: 0.8534 MB / 0.5383 GB, free: 7.93 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.3741, allocations: 0 / 0.5383 GB, free: 7.93 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3741, allocations: 0 / 0.5383 GB, free: 7.93 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.054e-05/0.3742, allocations: 0 / 0.5383 GB, free: 7.93 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001379/0.3755, allocations: 0.864 MB / 0.5392 GB, free: 7.211 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.3756, allocations: 13 kB / 0.5392 GB, free: 7.207 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001175/0.3757, allocations: 102.1 kB / 0.5393 GB, free: 7.121 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004145/0.3761, allocations: 91.45 kB / 0.5394 GB, free: 7.078 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004425/0.3766, allocations: 320.9 kB / 0.5397 GB, free: 6.793 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.571e-05/0.3766, allocations: 42.97 kB / 0.5397 GB, free: 6.773 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.412e-05/0.3767, allocations: 56.16 kB / 0.5398 GB, free: 6.754 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/0.3779, allocations: 0.7678 MB / 0.5405 GB, free: 6.309 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.3779, allocations: 0 / 0.5405 GB, free: 6.309 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.819e-05/0.378, allocations: 20.97 kB / 0.5405 GB, free: 6.293 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-05/0.378, allocations: 33 kB / 0.5406 GB, free: 6.285 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001003/0.379, allocations: 0.553 MB / 0.5411 GB, free: 6.023 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002333/0.3814, allocations: 1.688 MB / 0.5428 GB, free: 4.801 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006513/0.3821, allocations: 305.8 kB / 0.5431 GB, free: 4.629 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003924/0.3825, allocations: 154 kB / 0.5432 GB, free: 4.551 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.457e-05/0.3825, allocations: 9.641 kB / 0.5432 GB, free: 4.547 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.56e-05/0.3826, allocations: 36.75 kB / 0.5432 GB, free: 4.504 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 1.773e-06/0.3826, allocations: 0 / 0.5432 GB, free: 4.504 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.001458/0.3841, allocations: 0.5116 MB / 0.5437 GB, free: 4.195 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.029e-05/0.3841, allocations: 102.8 kB / 0.5438 GB, free: 4.07 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008109/0.385, allocations: 0.6394 MB / 0.5445 GB, free: 3.418 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.266e-05/0.385, allocations: 33.95 kB / 0.5445 GB, free: 3.379 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002558/0.3853, allocations: 300 kB / 0.5448 GB, free: 3.082 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.983e-05/0.3854, allocations: 75.38 kB / 0.5449 GB, free: 3.008 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000212/0.3856, allocations: 122.2 kB / 0.545 GB, free: 2.879 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002034/0.3858, allocations: 362.8 kB / 0.5453 GB, free: 2.516 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004482/0.3863, allocations: 192.9 kB / 0.5455 GB, free: 2.328 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006651/0.3869, allocations: 465.2 kB / 0.546 GB, free: 1.746 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001114/0.3881, allocations: 0.6697 MB / 0.5466 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.3881, allocations: 4 kB / 0.5466 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001367/0.3894, allocations: 0.7003 MB / 0.5473 GB, free: 244 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.783e-05/0.3895, allocations: 12.06 kB / 0.5473 GB, free: 232 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.503e-05/0.3896, allocations: 55.98 kB / 0.5474 GB, free: 176 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.739e-05/0.3896, allocations: 12 kB / 0.5474 GB, free: 164 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003255/0.39, allocations: 71.83 kB / 0.5474 GB, free: 92 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.21e-05/0.39, allocations: 19.92 kB / 0.5475 GB, free: 72 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005327/0.3905, allocations: 103.3 kB / 0.5476 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.015e-05/0.3906, allocations: 32 kB / 0.5476 GB, free: 15.93 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].roughness,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 (57): * Single equations (assignments): 45 * 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.0004071/0.391, allocations: 269.3 kB / 0.5478 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/0.3912, allocations: 51.61 kB / 0.5479 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001035/0.3922, allocations: 471.5 kB / 0.5483 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.3922, allocations: 8 kB / 0.5483 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.3922, allocations: 0 / 0.5483 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.3923, allocations: 0 / 0.5483 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006987/0.393, allocations: 413.3 kB / 0.5487 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.17e-05/0.393, allocations: 43.98 kB / 0.5488 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001487/0.3932, allocations: 27.91 kB / 0.5488 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/0.3932, allocations: 3.938 kB / 0.5488 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.105e-05/0.3932, allocations: 12 kB / 0.5488 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.3933, allocations: 3.938 kB / 0.5488 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.3933, allocations: 4 kB / 0.5488 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009701/0.3942, allocations: 0.6151 MB / 0.5494 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001626/0.3944, allocations: 140.6 kB / 0.5496 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.75e-05/0.3945, allocations: 4 kB / 0.5496 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000291/0.3948, allocations: 19.98 kB / 0.5496 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.337e-05/0.3949, allocations: 27.91 kB / 0.5496 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-05/0.3949, allocations: 16 kB / 0.5496 GB, free: 13.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005588/0.3955, allocations: 446.7 kB / 0.5501 GB, free: 13.3 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3955, allocations: 0 / 0.5501 GB, free: 13.3 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008974/0.3964, allocations: 195.6 kB / 0.5502 GB, free: 13.11 MB / 414.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.001818/0.3982, allocations: 1.302 MB / 0.5515 GB, free: 11.78 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001259/0.3995, allocations: 0.7477 MB / 0.5522 GB, free: 10.96 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.3995, allocations: 4 kB / 0.5523 GB, free: 10.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006405/0.4002, allocations: 480.3 kB / 0.5527 GB, free: 10.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007859/0.401, allocations: 133 kB / 0.5528 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008708/0.4097, allocations: 5.962 MB / 0.5587 GB, free: 3.977 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006288/0.4103, allocations: 0.8933 MB / 0.5595 GB, free: 3.055 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003751/0.4107, allocations: 128.5 kB / 0.5597 GB, free: 2.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002097/0.411, allocations: 151.3 kB / 0.5598 GB, free: 2.781 MB / 414.1 MB Notification: Performance of SimCode: time 1.553e-06/0.411, allocations: 3.938 kB / 0.5598 GB, free: 2.777 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04338/0.4543, allocations: 15.93 MB / 0.5754 GB, free: 3.074 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.641/9.096, allocations: 6.219 kB / 0.5754 GB, free: 3.07 MB / 430.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe 2>&1)