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.001576/0.001576, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001731/0.001732, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.422/1.422, allocations: 227.4 MB / 247 MB, free: 10.39 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.2234/0.2234, allocations: 46.11 MB / 344.3 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.002302/0.002302, allocations: 83.84 kB / 480.9 MB, free: 4.473 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3447/0.3471, allocations: 62.43 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC): time 0.003532/0.3507, allocations: 2.149 MB / 0.5327 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001543/0.3522, allocations: 0.896 MB / 0.5336 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.89e-05/0.3523, allocations: 10.84 kB / 0.5336 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003252/0.3527, allocations: 66.92 kB / 0.5337 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000438/0.3531, allocations: 137.1 kB / 0.5338 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003404/0.3535, allocations: 91.8 kB / 0.5339 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006087/0.3541, allocations: 467.3 kB / 0.5343 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.3542, allocations: 46.95 kB / 0.5344 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003345/0.3546, allocations: 181.6 kB / 0.5346 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003098/0.3549, allocations: 208.6 kB / 0.5348 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.129e-05/0.3549, allocations: 11.5 kB / 0.5348 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004892/0.3554, allocations: 268.6 kB / 0.535 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001619/0.3556, allocations: 104.8 kB / 0.5351 GB, free: 10.03 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002363/0.3558, allocations: 183.1 kB / 0.5353 GB, free: 9.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008508/0.3567, allocations: 0.5368 MB / 0.5358 GB, free: 9.559 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3567, allocations: 1.281 kB / 0.5358 GB, free: 9.559 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.537e-06/0.3567, allocations: 0 / 0.5358 GB, free: 9.559 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.504e-05/0.3567, allocations: 0 / 0.5358 GB, free: 9.559 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.001435/0.3582, allocations: 0.724 MB / 0.5365 GB, free: 8.938 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.99e-05/0.3583, allocations: 13.11 kB / 0.5365 GB, free: 8.934 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001536/0.3584, allocations: 95.94 kB / 0.5366 GB, free: 8.852 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001163/0.3585, allocations: 49.3 kB / 0.5367 GB, free: 8.824 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003799/0.3589, allocations: 298 kB / 0.537 GB, free: 8.551 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.301e-05/0.359, allocations: 39.12 kB / 0.537 GB, free: 8.531 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.384e-05/0.3591, allocations: 47.91 kB / 0.537 GB, free: 8.512 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001118/0.3602, allocations: 0.6646 MB / 0.5377 GB, free: 8.145 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.3602, allocations: 1.188 kB / 0.5377 GB, free: 8.145 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.301e-05/0.3603, allocations: 19.16 kB / 0.5377 GB, free: 8.129 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-05/0.3603, allocations: 47.91 kB / 0.5378 GB, free: 8.121 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001329/0.3617, allocations: 0.6995 MB / 0.5384 GB, free: 7.797 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002545/0.3642, allocations: 1.351 MB / 0.5398 GB, free: 6.891 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007828/0.365, allocations: 454.5 kB / 0.5402 GB, free: 6.703 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003024/0.3653, allocations: 155.9 kB / 0.5403 GB, free: 6.637 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.124e-05/0.3654, allocations: 16.7 kB / 0.5404 GB, free: 6.625 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.3654, allocations: 37.05 kB / 0.5404 GB, free: 6.582 MB / 398.1 MB Notification: Performance of pre-optimization done (n=28): time 3.787e-06/0.3655, allocations: 0 / 0.5404 GB, free: 6.582 MB / 398.1 MB Notification: Performance of matching and sorting (n=28): time 0.001261/0.3667, allocations: 0.5324 MB / 0.5409 GB, free: 6.344 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.933e-05/0.3668, allocations: 54.94 kB / 0.541 GB, free: 6.281 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006349/0.3674, allocations: 0.489 MB / 0.5414 GB, free: 5.988 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.644e-05/0.3675, allocations: 30.58 kB / 0.5415 GB, free: 5.953 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001777/0.3677, allocations: 220.2 kB / 0.5417 GB, free: 5.758 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001111/0.3678, allocations: 111.7 kB / 0.5418 GB, free: 5.66 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001428/0.3679, allocations: 79.42 kB / 0.5419 GB, free: 5.609 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001847/0.3681, allocations: 360.2 kB / 0.5422 GB, free: 5.262 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003112/0.3684, allocations: 152.3 kB / 0.5424 GB, free: 5.203 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003904/0.3688, allocations: 249.8 kB / 0.5426 GB, free: 5.023 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007785/0.3696, allocations: 431.1 kB / 0.543 GB, free: 4.719 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3696, allocations: 3.938 kB / 0.543 GB, free: 4.715 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009304/0.3706, allocations: 0.493 MB / 0.5435 GB, free: 4.215 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/0.3706, allocations: 4 kB / 0.5435 GB, free: 4.211 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.3706, allocations: 4 kB / 0.5435 GB, free: 4.207 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.3706, allocations: 4 kB / 0.5435 GB, free: 4.203 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009371/0.3716, allocations: 203.8 kB / 0.5437 GB, free: 4.004 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004364/0.376, allocations: 7.298 MB / 0.5508 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000392/0.3764, allocations: 59.5 kB / 0.5509 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.793e-05/0.3764, allocations: 23.98 kB / 0.5509 GB, free: 12.34 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.0003218/0.3768, allocations: 226.2 kB / 0.5511 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.039e-05/0.3768, allocations: 43.84 kB / 0.5512 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001067/0.3779, allocations: 0.5365 MB / 0.5517 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.3779, allocations: 7.984 kB / 0.5517 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.3779, allocations: 4 kB / 0.5517 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.378, allocations: 0 / 0.5517 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005687/0.3785, allocations: 429.1 kB / 0.5521 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.3785, allocations: 112 / 0.5521 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008103/0.3794, allocations: 191.8 kB / 0.5523 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/0.3794, allocations: 4 kB / 0.5523 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.507e-05/0.3794, allocations: 19.98 kB / 0.5523 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004262/0.3837, allocations: 7.286 MB / 0.5594 GB, free: 3.266 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.294e-06/0.3837, allocations: 7.875 kB / 0.5594 GB, free: 3.258 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008337/0.3846, allocations: 0.5081 MB / 0.5599 GB, free: 2.734 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000155/0.3847, allocations: 124.8 kB / 0.56 GB, free: 2.594 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.064e-05/0.3848, allocations: 4 kB / 0.5601 GB, free: 2.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002301/0.385, allocations: 8 kB / 0.5601 GB, free: 2.582 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.887e-05/0.3851, allocations: 27.89 kB / 0.5601 GB, free: 2.555 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-05/0.3852, allocations: 16 kB / 0.5601 GB, free: 2.539 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004155/0.3856, allocations: 363 kB / 0.5604 GB, free: 2.188 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3856, allocations: 0 / 0.5604 GB, free: 2.188 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005062/0.3861, allocations: 123.8 kB / 0.5606 GB, free: 2.066 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.001327/0.3874, allocations: 1.074 MB / 0.5616 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001476/0.3889, allocations: 0.5279 MB / 0.5621 GB, free: 452 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.3889, allocations: 0 / 0.5621 GB, free: 452 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009852/0.3899, allocations: 339.6 kB / 0.5625 GB, free: 112 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005871/0.3905, allocations: 114.4 kB / 0.5626 GB, free: 0 / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006558/0.3971, allocations: 4.878 MB / 0.5673 GB, free: 10.96 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005036/0.3976, allocations: 0.8777 MB / 0.5682 GB, free: 10.06 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003475/0.398, allocations: 144 kB / 0.5683 GB, free: 9.918 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002511/0.3982, allocations: 131.3 kB / 0.5684 GB, free: 9.789 MB / 430.1 MB Notification: Performance of SimCode: time 8.12e-07/0.3983, allocations: 0 / 0.5684 GB, free: 9.789 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04115/0.4394, allocations: 13.7 MB / 0.5818 GB, free: 12.37 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/12.57, allocations: 5.125 kB / 0.5818 GB, free: 12.36 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 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)