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.HelicalPipe.kc_overall_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.HelicalPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_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.001718/0.001718, allocations: 117.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001877/0.001877, allocations: 207.8 kB / 18.74 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.417/1.417, 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.2259/0.2259, 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.002216/0.002216, allocations: 75.88 kB / 480.9 MB, free: 4.477 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3368/0.3391, allocations: 62.44 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC): time 0.00335/0.3424, allocations: 2.011 MB / 0.5326 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002802/0.3453, allocations: 1.878 MB / 0.5344 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.328e-05/0.3454, allocations: 6.75 kB / 0.5344 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003097/0.3457, allocations: 66.72 kB / 0.5345 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003573/0.3461, allocations: 117.5 kB / 0.5346 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007907/0.3469, allocations: 355.6 kB / 0.5349 GB, free: 9.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004205/0.3473, allocations: 385 kB / 0.5353 GB, free: 9.723 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.2e-05/0.3474, allocations: 47.98 kB / 0.5354 GB, free: 9.703 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002565/0.3477, allocations: 152.5 kB / 0.5355 GB, free: 9.621 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002254/0.3479, allocations: 176.9 kB / 0.5357 GB, free: 9.516 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.343e-05/0.3479, allocations: 11 kB / 0.5357 GB, free: 9.516 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009792/0.3489, allocations: 0.5554 MB / 0.5362 GB, free: 9.176 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001191/0.3491, allocations: 100.4 kB / 0.5363 GB, free: 9.109 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001679/0.3492, allocations: 156 kB / 0.5365 GB, free: 9.008 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008876/0.3501, allocations: 0.643 MB / 0.5371 GB, free: 8.609 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.3501, allocations: 0 / 0.5371 GB, free: 8.609 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3502, allocations: 3.938 kB / 0.5371 GB, free: 8.605 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.3502, allocations: 1.438 kB / 0.5371 GB, free: 8.605 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001101/0.3513, allocations: 0.6952 MB / 0.5378 GB, free: 7.996 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.3513, allocations: 9.375 kB / 0.5378 GB, free: 7.996 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.956e-05/0.3514, allocations: 87.94 kB / 0.5379 GB, free: 7.918 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.144e-05/0.3515, allocations: 43.25 kB / 0.5379 GB, free: 7.895 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003541/0.3519, allocations: 282.2 kB / 0.5382 GB, free: 7.629 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.682e-05/0.3519, allocations: 31.7 kB / 0.5382 GB, free: 7.613 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.395e-05/0.352, allocations: 36.28 kB / 0.5383 GB, free: 7.602 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008833/0.3529, allocations: 0.5553 MB / 0.5388 GB, free: 7.293 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.3529, allocations: 1.188 kB / 0.5388 GB, free: 7.293 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.11e-05/0.3529, allocations: 22.27 kB / 0.5388 GB, free: 7.273 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-05/0.353, allocations: 36.86 kB / 0.5389 GB, free: 7.266 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001035/0.354, allocations: 0.5755 MB / 0.5394 GB, free: 7.004 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001954/0.356, allocations: 1.173 MB / 0.5406 GB, free: 6.199 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000734/0.3567, allocations: 383.6 kB / 0.5409 GB, free: 6.039 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002952/0.3571, allocations: 137.9 kB / 0.5411 GB, free: 5.977 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.7e-05/0.3571, allocations: 11.34 kB / 0.5411 GB, free: 5.969 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.3571, allocations: 36.91 kB / 0.5411 GB, free: 5.926 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 2.474e-06/0.3572, allocations: 0 / 0.5411 GB, free: 5.926 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001067/0.3582, allocations: 466.2 kB / 0.5415 GB, free: 5.719 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.645e-05/0.3583, allocations: 54.62 kB / 0.5416 GB, free: 5.656 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005255/0.3588, allocations: 454.7 kB / 0.542 GB, free: 5.391 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.896e-05/0.3589, allocations: 26.73 kB / 0.5421 GB, free: 5.359 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001683/0.359, allocations: 191.8 kB / 0.5422 GB, free: 5.184 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.844e-05/0.3591, allocations: 81.06 kB / 0.5423 GB, free: 5.113 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/0.3592, allocations: 51.48 kB / 0.5424 GB, free: 5.078 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001929/0.3594, allocations: 358.6 kB / 0.5427 GB, free: 4.73 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002548/0.3597, allocations: 109.8 kB / 0.5428 GB, free: 4.691 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002652/0.36, allocations: 124.1 kB / 0.5429 GB, free: 4.645 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005749/0.3605, allocations: 262.3 kB / 0.5432 GB, free: 4.539 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3606, allocations: 0 / 0.5432 GB, free: 4.539 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006999/0.3613, allocations: 354 kB / 0.5435 GB, free: 4.262 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/0.3613, allocations: 11.94 kB / 0.5435 GB, free: 4.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.3613, allocations: 0 / 0.5435 GB, free: 4.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.3613, allocations: 0 / 0.5435 GB, free: 4.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007587/0.3621, allocations: 155.9 kB / 0.5437 GB, free: 4.098 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003903/0.366, allocations: 5.513 MB / 0.5491 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002943/0.3663, allocations: 51.59 kB / 0.5491 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.074e-05/0.3664, allocations: 15.94 kB / 0.5491 GB, free: 14.31 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * 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): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002834/0.3666, allocations: 193.6 kB / 0.5493 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7e-05/0.3667, allocations: 39.7 kB / 0.5494 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009512/0.3677, allocations: 455.6 kB / 0.5498 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.3677, allocations: 7.938 kB / 0.5498 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.3677, allocations: 3.984 kB / 0.5498 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.3677, allocations: 0 / 0.5498 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005451/0.3683, allocations: 377.2 kB / 0.5502 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3683, allocations: 0 / 0.5502 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006623/0.369, allocations: 151.9 kB / 0.5503 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.369, allocations: 0 / 0.5503 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.382e-05/0.369, allocations: 11.98 kB / 0.5503 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003574/0.3726, allocations: 5.516 MB / 0.5557 GB, free: 7.309 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.511e-06/0.3726, allocations: 3.938 kB / 0.5557 GB, free: 7.305 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007635/0.3734, allocations: 451.3 kB / 0.5561 GB, free: 6.848 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001478/0.3735, allocations: 120.8 kB / 0.5563 GB, free: 6.711 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.185e-05/0.3736, allocations: 0 / 0.5563 GB, free: 6.711 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001969/0.3738, allocations: 11.98 kB / 0.5563 GB, free: 6.699 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.471e-05/0.3739, allocations: 27.91 kB / 0.5563 GB, free: 6.672 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.777e-05/0.3739, allocations: 12 kB / 0.5563 GB, free: 6.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003861/0.3743, allocations: 335.1 kB / 0.5566 GB, free: 6.336 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3743, allocations: 7.938 kB / 0.5566 GB, free: 6.328 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005265/0.3749, allocations: 147.6 kB / 0.5568 GB, free: 6.184 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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * 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): 9 systems {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.001381/0.3762, allocations: 1.094 MB / 0.5578 GB, free: 5.062 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001186/0.3774, allocations: 399.6 kB / 0.5582 GB, free: 4.672 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.3775, allocations: 7.938 kB / 0.5582 GB, free: 4.664 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008296/0.3783, allocations: 275.7 kB / 0.5585 GB, free: 4.395 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004903/0.3788, allocations: 97.41 kB / 0.5586 GB, free: 4.301 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005945/0.3847, allocations: 4.374 MB / 0.5629 GB, free: 15.85 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005454/0.3853, allocations: 0.8503 MB / 0.5637 GB, free: 14.97 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002385/0.3856, allocations: 87.2 kB / 0.5638 GB, free: 14.88 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000173/0.3857, allocations: 111.4 kB / 0.5639 GB, free: 14.77 MB / 430.1 MB Notification: Performance of SimCode: time 8.22e-07/0.3857, allocations: 0 / 0.5639 GB, free: 14.77 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03948/0.4252, allocations: 13 MB / 0.5766 GB, free: 2.027 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/12.41, allocations: 17.52 kB / 0.5766 GB, free: 2.016 MB / 430.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe 2>&1)