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_KC.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_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00133/0.00133, allocations: 117.2 kB / 17.78 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001457/0.001457, allocations: 200.6 kB / 18.73 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 227.4 MB / 247 MB, free: 10.47 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.2271/0.2271, allocations: 46.11 MB / 344.3 MB, free: 11.5 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.002215/0.002215, allocations: 79.86 kB / 480.9 MB, free: 4.516 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3246, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC): time 0.003477/0.3281, allocations: 2.135 MB / 0.5327 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001471/0.3296, allocations: 0.895 MB / 0.5336 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.608e-05/0.3297, allocations: 6.688 kB / 0.5336 GB, free: 11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002641/0.3299, allocations: 74.7 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000366/0.3303, allocations: 137.6 kB / 0.5338 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002684/0.3306, allocations: 87.45 kB / 0.5339 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004977/0.3311, allocations: 467.1 kB / 0.5343 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.519e-05/0.3312, allocations: 55.28 kB / 0.5344 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002684/0.3315, allocations: 177.6 kB / 0.5345 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002673/0.3317, allocations: 207.6 kB / 0.5347 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.586e-05/0.3318, allocations: 11.72 kB / 0.5348 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004313/0.3322, allocations: 265.6 kB / 0.535 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000121/0.3324, allocations: 108.6 kB / 0.5351 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001822/0.3325, allocations: 179 kB / 0.5353 GB, free: 9.941 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00065/0.3332, allocations: 0.5332 MB / 0.5358 GB, free: 9.594 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.3332, allocations: 4 kB / 0.5358 GB, free: 9.59 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.3332, allocations: 1.25 kB / 0.5358 GB, free: 9.59 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.3332, allocations: 0 / 0.5358 GB, free: 9.59 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001183/0.3344, allocations: 0.7277 MB / 0.5365 GB, free: 8.965 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.3345, allocations: 8.562 kB / 0.5365 GB, free: 8.965 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000116/0.3346, allocations: 100.1 kB / 0.5366 GB, free: 8.879 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.22e-05/0.3347, allocations: 49.64 kB / 0.5367 GB, free: 8.852 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003889/0.3351, allocations: 298.5 kB / 0.537 GB, free: 8.578 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.486e-05/0.3351, allocations: 38.69 kB / 0.537 GB, free: 8.559 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.007e-05/0.3352, allocations: 47.61 kB / 0.537 GB, free: 8.539 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/0.3362, allocations: 0.658 MB / 0.5377 GB, free: 8.18 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.3362, allocations: 0 / 0.5377 GB, free: 8.18 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.466e-05/0.3363, allocations: 19.48 kB / 0.5377 GB, free: 8.164 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.912e-05/0.3364, allocations: 52 kB / 0.5377 GB, free: 8.152 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001168/0.3375, allocations: 0.6915 MB / 0.5384 GB, free: 7.836 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00206/0.3396, allocations: 1.355 MB / 0.5397 GB, free: 6.926 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007971/0.3404, allocations: 462.3 kB / 0.5402 GB, free: 6.73 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003005/0.3407, allocations: 151.9 kB / 0.5403 GB, free: 6.668 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.73e-05/0.3408, allocations: 13.02 kB / 0.5403 GB, free: 6.66 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.3408, allocations: 40.17 kB / 0.5404 GB, free: 6.613 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 1.723e-06/0.3408, allocations: 0 / 0.5404 GB, free: 6.613 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.001144/0.342, allocations: 0.5291 MB / 0.5409 GB, free: 6.379 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/0.342, allocations: 58.62 kB / 0.541 GB, free: 6.312 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005677/0.3426, allocations: 0.4893 MB / 0.5414 GB, free: 6.02 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.211e-05/0.3427, allocations: 30.92 kB / 0.5415 GB, free: 5.984 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001687/0.3428, allocations: 223.7 kB / 0.5417 GB, free: 5.785 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.583e-05/0.3429, allocations: 103.2 kB / 0.5418 GB, free: 5.695 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001411/0.3431, allocations: 79.64 kB / 0.5418 GB, free: 5.645 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.3433, allocations: 363.7 kB / 0.5422 GB, free: 5.293 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000301/0.3436, allocations: 152.8 kB / 0.5423 GB, free: 5.234 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003862/0.344, allocations: 253 kB / 0.5426 GB, free: 5.055 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007407/0.3447, allocations: 437.5 kB / 0.543 GB, free: 4.738 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.3447, allocations: 0 / 0.543 GB, free: 4.738 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0008956/0.3456, allocations: 493 kB / 0.5435 GB, free: 4.25 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.3457, allocations: 11.98 kB / 0.5435 GB, free: 4.238 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.3457, allocations: 0 / 0.5435 GB, free: 4.238 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.3457, allocations: 8 kB / 0.5435 GB, free: 4.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009004/0.3466, allocations: 203.8 kB / 0.5437 GB, free: 4.031 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004474/0.3511, allocations: 7.298 MB / 0.5508 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004024/0.3515, allocations: 67.53 kB / 0.5509 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.54e-05/0.3516, allocations: 23.98 kB / 0.5509 GB, free: 12.36 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (40): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 12 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 12 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000335/0.3519, allocations: 222.2 kB / 0.5511 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.058e-05/0.352, allocations: 51.64 kB / 0.5512 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0011/0.3531, allocations: 0.5289 MB / 0.5517 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.3531, allocations: 7.984 kB / 0.5517 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-05/0.3531, allocations: 4 kB / 0.5517 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.299e-06/0.3532, allocations: 3.938 kB / 0.5517 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006211/0.3538, allocations: 421.2 kB / 0.5521 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.3538, allocations: 3.938 kB / 0.5521 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008276/0.3546, allocations: 191.9 kB / 0.5523 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.3546, allocations: 0 / 0.5523 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.213e-05/0.3547, allocations: 11.98 kB / 0.5523 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006161/0.3608, allocations: 7.298 MB / 0.5594 GB, free: 3.289 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/0.3609, allocations: 3.938 kB / 0.5594 GB, free: 3.285 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001331/0.3622, allocations: 0.5042 MB / 0.5599 GB, free: 2.766 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002414/0.3625, allocations: 124.8 kB / 0.56 GB, free: 2.625 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.118e-05/0.3626, allocations: 8 kB / 0.56 GB, free: 2.617 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003082/0.3629, allocations: 8 kB / 0.56 GB, free: 2.609 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.363, allocations: 35.83 kB / 0.5601 GB, free: 2.574 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.93e-05/0.3631, allocations: 12 kB / 0.5601 GB, free: 2.562 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006423/0.3637, allocations: 359 kB / 0.5604 GB, free: 2.215 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.3638, allocations: 4 kB / 0.5604 GB, free: 2.211 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000802/0.3646, allocations: 123.8 kB / 0.5606 GB, free: 2.09 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 12 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 12 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00143/0.366, allocations: 1.071 MB / 0.5616 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001549/0.3676, allocations: 0.524 MB / 0.5621 GB, free: 480 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3676, allocations: 3.938 kB / 0.5621 GB, free: 476 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001565/0.3692, allocations: 331.6 kB / 0.5624 GB, free: 144 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009467/0.3701, allocations: 124.7 kB / 0.5626 GB, free: 24 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01006/0.3802, allocations: 4.874 MB / 0.5673 GB, free: 10.99 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007635/0.381, allocations: 0.8777 MB / 0.5682 GB, free: 10.08 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006136/0.3816, allocations: 148 kB / 0.5683 GB, free: 9.938 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003114/0.382, allocations: 130.3 kB / 0.5684 GB, free: 9.812 MB / 430.1 MB Notification: Performance of SimCode: time 9.52e-07/0.382, allocations: 0 / 0.5684 GB, free: 9.812 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04344/0.4254, allocations: 13.69 MB / 0.5818 GB, free: 12.39 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/12.62, allocations: 9.188 kB / 0.5818 GB, free: 12.38 MB / 446.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC_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_laminar_KC.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe 2>&1)